Writers, editors and students often want to know how heavily a text is punctuated. A punctuation counter tells you how many punctuation marks a text contains and which ones appear most often, so you can spot an overuse of commas, a missing full stop or a style that leans on dashes.
What the punctuation counter shows
Paste your text and press the button. The large number is the total of punctuation marks found. The table lists how many different marks were used, then each mark with its Unicode code point, its count and its share of the total, most frequent first. The list shows up to thirty marks, which is more than most texts use. Tick the symbols option to count characters such as the dollar sign, plus sign, equals sign and currency symbols too.
What counts as punctuation
The Wikipedia article on punctuation describes punctuation marks as marks indicating how a piece of written text should be read. [1] Its tables place the comma, full stop, question mark, exclamation mark, quotation mark and apostrophe in the category of other punctuation, and the hyphen and the dashes in the dash category. [1]
The tool uses the Unicode general categories rather than a hand-written list, so it works for more than English. The Wikipedia article on Unicode character properties lists the punctuation categories: connector, dash, open, close, initial quote, final quote and other. [2] That means brackets, curly quotation marks, the Spanish inverted question mark, guillemets, the Arabic comma and the CJK full stop are all counted, along with the familiar marks. The underscore counts too, because it is a connector punctuation character.
Punctuation versus symbols
The line between punctuation and symbols is not sharp. Unicode keeps symbols in a separate group made up of math, currency, modifier and other symbols, which covers characters such as plus, equals, the dollar sign and the copyright sign. [2] By default the counter leaves those out, so a price like $5 adds nothing to the total. Tick the symbols option when you want them included, for example when you are counting every non-alphanumeric mark in a piece of code or a data file.
Worked example
Take the text: Hello, world! Really? Yes... "ok" $5 + 3. It contains eight punctuation marks: one comma, one exclamation mark, one question mark, three full stops and two straight quotation marks. The full stop is the most common mark and heads the list with a count of three. The dollar sign and the plus sign are symbols, so they only appear if you tick the symbols option, which would raise the total to ten.
Why punctuation counts matter
Punctuation shapes how text reads. A paragraph with a dozen exclamation marks reads very differently from one with none, and long sentences strung together with commas can be hard to follow. Editors often count the marks in a draft to see whether the rhythm is steady, and students use counts to check that every opening bracket or quotation mark has a partner. When the number of opening and closing quotation marks differs, a quote may be unbalanced. The table makes such issues easy to spot, because each mark is listed with its own total.
Punctuation counts are also a first step in text analysis. Researchers who study writing style compare how often authors use semicolons, dashes or question marks. Natural language processing pipelines often remove punctuation before analysing words, and a count tells you how much was removed. For a plain count of words and characters, use the word counter instead.
Common uses
- Checking an essay or article for overused commas or exclamation marks.
- Comparing the punctuation habits of two drafts or two authors.
- Counting quotation marks to find unbalanced quotes.
- Preparing text for analysis or natural language processing, where punctuation is stripped.
- Teaching exercises on commas, apostrophes and dashes.
Step by step
- Paste or type your text into the box.
- Tick the symbols option if you want symbols counted.
- Press Count punctuation.
- Read the total and the table of marks, with their code points.
Reading the code points
Each mark in the table is followed by its Unicode code point, written as U+ and four or more hexadecimal digits. This lets you tell lookalikes apart. The straight apostrophe U+0027 and the curly apostrophe U+2019 look similar, but they are different characters, and word processors often convert one into the other. Hyphens and dashes are also distinct: the hyphen-minus is U+002D, while the en dash and em dash have their own code points. If your counts for a mark seem split, check whether the text mixes straight and curly forms.
The tool works on up to two million characters and everything is done in your browser, so your text is never uploaded. Percentages are rounded to one decimal place and are calculated against the total number of marks, so they add up to about one hundred per cent when every mark fits in the list. Clear the box and press the button again to check another passage whenever you like.
What next
Use this often? Add Punctuation to your Home screen.
Frequently asked questions
How does the punctuation counter work?
It checks every character against the Unicode punctuation categories and counts the matches, then lists each distinct mark with its count and code point.
Does the punctuation counter include symbols like $ and +?
Not by default. Those are symbols rather than punctuation. Tick the symbols option to include them in the count.
Are curly quotes and other languages' marks counted?
Yes. Curly quotation marks, brackets, guillemets and punctuation from other scripts are all in the Unicode punctuation categories, so they are counted.
Why are the straight and curly apostrophes listed separately?
They are different characters with different code points. The table shows each one on its own line so you can see which form your text uses.
Is my text uploaded?
No. Counting happens in your browser and your text is not sent anywhere.
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.