Skip to content
CleanGlyph home

Remove Special Characters from Text

Remove punctuation, symbols, emojis and other unwanted characters while preserving letters, numbers and selected exceptions. Free, instant and private.

Your text never leaves your browser.

0 lines · 0 characters · 0 special charactersAnalyzed as you type

Cleaned text

Paste text to remove punctuation, symbols and emojis.

Filtering options

Filtering mode
Keep these characters

Useful for usernames, variables and file names.

Keeps the ASCII hyphen-minus. En and em dashes are still removed.

Keeps the straight apostrophe in words like don't. Curly ’ is still removed.

Keeps complete emoji sequences, including skin tones, flags and joined emojis.

When removing characters

A run of removed characters next to each other becomes one space.

Whitespace cleanup

Turn runs of ordinary spaces into one, including gaps left by removed characters.

Remove spaces and tabs at the start and end of every line. Also removes indentation.

How to remove special characters from text

Paste your text into the input box. Punctuation, symbols and emojis are removed as you type, with no button to press. Pick a different mode to control exactly what is removed, keep characters such as underscores or hyphens, and copy the cleaned text. Everything runs locally in your browser, so your text is never uploaded.

What counts as a special character?

There is no single definition, so this tool uses Unicode character categories instead of a short list of ASCII characters. That means international letters are recognized correctly and never stripped as "special".

Lettersa Z é ü ą Ж ع 你
Every alphabet and script. Kept in every mode.
Numbers0 9 ١ ½ Ⅻ
Digits in any script. Removed only by Keep letters only.
Punctuation, . ! ? " ( ) - _ ,
Includes brackets, quotes, dashes and full-width CJK marks.
Symbols$ € + = © ™ ✓ ^
Currency, math, letter-like and other Unicode symbols.
Emojis😊 👍🏽 👩‍💻 🇱🇹 1️⃣
Removed as whole sequences, never leaving fragments.
Whitespacespace · tab · line break
Always kept. Clean it with the whitespace options.

Filtering modes with examples

Each mode removes a different set of characters. Spaces are kept exactly as they were, which is why some results contain double spaces; turn on Collapse repeated spaces to merge them.

Example output for each filtering mode
ModeBeforeAfter
Remove punctuation & symbolsHello, world! Price: €25 😊Hello world Price 25
Remove punctuationHello, world! €25 + 5Hello world €25 + 5
Remove symbolsPrice: €25 + tax! 😊Price: 25 tax!
Keep letters & numbersUser_123! @CleanGlyphUser123 CleanGlyph
Keep letters onlyOrder #123: Café!Order Café

Keep only letters and numbers

Keep letters & numbers is the strictest useful mode for slugs, identifiers and search keywords. It keeps Unicode letters, numbers and whitespace and removes everything else, including invisible format characters such as zero width spaces. Accented and non-Latin letters are kept, and accents are never stripped. Turn on Keep underscores or Keep hyphens to preserve identifiers like user_name or well-known.

Before
test@example.com — Žąsis_42!
After
testexamplecom  Žąsis42

Remove emojis from text

An emoji is often several code points: a base, a skin tone, a variation selector, zero width joiners or flag letters. This tool works on whole user-perceived characters, so 👩‍💻, 👍🏽, 🇱🇹 and 1️⃣ are removed completely or kept completely. Plain digits and text-style symbols such as © are not treated as emojis.

Delete or replace with spaces

Deleting characters can join words that were only separated by punctuation. Choose Replace with a space to turn each run of removed characters into exactly one space.

Delete
hello---world → helloworld
Replace with a space
hello---world → hello world

To find hidden characters, use the Invisible Character Detector; to see exactly which characters your text contains, use the Unicode Inspector. Tidy up spacing with Remove Extra Spaces or run a broader cleanup with the Text Cleaner. To review exactly what changed, compare the input and output in the Text Difference Checker.

Frequently asked questions

How do I remove special characters from text online?

Paste your text into the input box. With the default mode, punctuation, symbols and emojis are removed as you type. Choose another filtering mode or keep specific characters if needed, then copy the cleaned text.

What is considered a special character?

This tool treats Unicode punctuation (such as , . ! ? " ( ) - _), Unicode symbols (such as $ € + = © ™) and emojis as special characters. Letters from every alphabet, digits and whitespace are not special characters.

Can I remove punctuation but keep numbers?

Yes. Remove punctuation & symbols, Remove punctuation and Keep letters & numbers all keep digits. Only Keep letters only removes numbers.

Can I keep accented and international letters?

Yes. Letters are recognized with Unicode properties, so é, ü, ą, Ж, 你 and ع are kept in every mode. Accents are never stripped or transliterated, and text is not Unicode-normalized.

How do I keep only letters and numbers?

Select Keep letters & numbers. Everything except Unicode letters, numbers, combining marks and whitespace is removed, including invisible format characters such as zero width spaces. Turn on Keep underscores or Keep hyphens if identifiers need them.

Can I remove emojis from text?

Yes. Every mode except Remove punctuation removes emojis. Each emoji is removed as a complete sequence, including skin tones, flags, keycaps and joined emojis such as 👩‍💻, so no invisible fragments are left behind. Turn on Keep emojis to preserve them.

Can I remove special characters without joining words?

Yes. Under When removing characters, choose Replace with a space. Each run of removed characters becomes a single space, so hello-world becomes hello world instead of helloworld. Turn on Collapse repeated spaces to merge it with spaces that were already there.

Does the tool remove invisible Unicode characters?

Only in the strict Keep letters & numbers and Keep letters only modes. The other modes leave zero width spaces and other format characters untouched. To find and remove hidden characters specifically, use the Invisible Character Detector or the Zero Width Space Remover.

Will it preserve line breaks and spaces?

Yes. Line breaks are never removed, and Windows (CRLF), Unix (LF) and old Mac (CR) line endings are kept exactly. Spaces, tabs and indentation are unchanged unless you turn on Collapse repeated spaces or Trim each line.

Is my text uploaded or stored?

No. Filtering runs entirely in your browser. Your text is not sent to a server, not saved in local storage and not added to the page URL.