Special Character Counter

Count every character that isn't a letter, digit or space, including punctuation, symbols and emoji, with each one's Unicode code point.

Special characters

0

Punctuation

0

Symbols

0

Emoji

0

Distinct

0

Share of characters

0%

Anything that is not a letter, a digit or whitespace counts as special.

Find every symbol in your text

"Special characters" is the catch-all name for everything in a text that isn't a letter, a digit or a space: punctuation, currency signs, mathematical symbols, arrows, bullets, trademark signs, emoji and dozens of lookalike characters that sneak in when text is copied between applications. This special character counter finds them all. Paste text above to see how many special characters there are, split into punctuation, symbols and emoji, how many different ones you used, their share of the text, and a table listing each one with its Unicode code point and count.

What counts as a special character

Anything that isn't a letter, a digit or whitespace. That includes:

  • punctuation: . , ; : ! ? ' " ( ) [ ] - – — … and also @ # % & * / \, which Unicode classes as punctuation;
  • symbols: + = < > | ~ ^ and the backtick;
  • currency signs: $ € £ ¥ ₹ ₿;
  • typographic and legal marks: © ® ™ § ¶ † •;
  • maths and science: ± × ÷ ° µ ∞ ≠ ≤ ≥;
  • arrows, shapes, dingbats and box-drawing characters;
  • emoji, each of which counts as one character, however it's built.

Letters with accents (é, ñ) aren't special characters, and neither are letters in other alphabets or digits from other scripts. They're ordinary letters and digits. Spaces, tabs and line breaks aren't counted either. The Space Counter handles those.

Why the Unicode column matters

Many special characters look almost identical. A hyphen (-), an en dash (–), an em dash (—), a minus sign (−) and a non-breaking hyphen are five different characters. A straight apostrophe (') and a curly one (’) look nearly the same in many fonts. An ordinary letter and a lookalike from another alphabet can be indistinguishable. The Unicode code point column (U+2014 for an em dash, U+2019 for a curly apostrophe) tells you exactly which character you're looking at.

That's invaluable for debugging. If a search fails to find a word you can see, a string comparison says two identical-looking values differ, or a CSV import breaks on a single row, an unexpected special character is a likely culprit. Paste the text here and check the table.

Common reasons to count special characters

Password and username rules. Many systems require at least one special character, while others forbid certain ones. Never paste a real password into any website, but you can use the counter to test example strings against a policy.

Form and database limits. Some fields reject special characters outright or allow only a short list. Checking a name, address or product title before submission avoids errors.

SEO and URLs. URL slugs, file names and some meta fields work best without special characters. Ampersands, question marks, hashes and spaces all need encoding in URLs.

Data cleaning. Text exported from PDFs, word processors and web pages often carries smart quotes, invisible formatting characters and odd symbols. Counting them before an import helps you decide what to replace.

Writing style. A very high count of special characters makes text harder to read, especially in body copy. Symbols such as & and @ are fine in a tweet but look out of place in formal prose.

Security review. Unexpected characters in user input are worth checking before they reach code or a database. This tool is a quick way to inspect a sample, though it's no substitute for proper validation and escaping in your application.

Reading the breakdown

The summary splits special characters three ways. Punctuation covers marks such as full stops, commas, quotes, dashes and brackets. Emoji are pictographs, flags and keycap symbols. Symbols are everything else, from currency and maths signs to arrows and trademarks. The table then lists every distinct special character, most frequent first, with its code point and count. Characters that look identical but have different code points get separate rows, which is exactly what you want when hunting down lookalikes.

Tips for cleaner text

  • Standardise quotes and apostrophes. Most style guides use either curly or straight quotes throughout, not a mix.
  • Pick one dash style. Use en dashes for ranges (10–20) and em dashes or spaced en dashes for breaks in a sentence, consistently.
  • Spell out symbols in formal writing. Write "and" instead of &, "per cent" or "percent" instead of % in running text where your style guide prefers it, and "at" instead of @.
  • Replace lookalikes in data. Swap curly quotes for straight ones and en dashes for hyphens in code, IDs and CSV files, where they cause errors.

Special characters in passwords and file names

Two places where special characters matter most are passwords and file names, and they pull in opposite directions. Password policies usually require at least one special character, because each one widens the range of possible characters and makes guessing harder. Length matters more than complexity, though, and modern guidance favours long passphrases over short strings full of symbols. Never paste a real password into any website, including this one, but you can test made-up examples against a policy.

File names are the opposite. Many characters are forbidden or risky. Windows doesn't allow \ / : * ? " < > | in file names, and characters such as #, %, & and spaces cause problems in URLs and command-line tools. A safe habit is to stick to letters, digits, hyphens and underscores. Paste a list of file names here, and any row in the table other than hyphens, underscores and full stops is a character worth replacing.

URL slugs follow similar rules. Use lowercase letters, digits and hyphens, and avoid everything else. Accented letters are allowed in modern URLs but are often converted to percent-encoded sequences when copied, which makes links long and hard to read.

Related tools

For punctuation on its own, with density per sentence and per 100 words, use the Punctuation Counter. For emoji specifically, try the Emoji Counter. For a frequency table of every character, letters included, open the Character Frequency Counter. As with every tool here, the analysis happens in your browser, and nothing is uploaded or logged.

How to use it

  1. 1

    Paste your text

    Text, data, code or anything else you want to inspect.

  2. 2

    Read the total

    The main figure counts every character that isn't a letter, digit or whitespace.

  3. 3

    Check the split

    See how many are punctuation, symbols and emoji.

  4. 4

    Inspect the table

    Each character is listed with its Unicode code point and count, so lookalikes can't hide.

Features

Every symbol found

Punctuation, currency, maths, arrows, marks and emoji.

Unicode code points

Tell lookalike characters apart at a glance.

Category split

Separate counts for punctuation, symbols and emoji.

Private

Your text never leaves your device.

Häufig gestellte Fragen

What is a special character?

Any character that isn't a letter, a digit or whitespace, such as punctuation, symbols and emoji.

Are accented letters special characters?

No. é, ñ and letters in other alphabets are ordinary letters.

Why do two identical-looking characters appear separately?

They're different Unicode characters, such as a hyphen and an en dash. The code point column shows the difference.

Are spaces counted?

No. Spaces, tabs and line breaks are whitespace. Use the Space Counter for those.

Can I check whether a password meets a special character rule?

You can test example strings, but never paste a real password into any website.

Is my text uploaded?

No. Everything is analysed locally.

Rate Special Character Counter

No account needed, and ratings are anonymous.

How useful was this tool?
No ratings yet — be the first

Further reading

All articles →