FormatterHQ

Remove Punctuation

Strip every punctuation mark from text, and optionally symbols such as $, +, © and emoji, leaving letters, digits and spaces.

Input TEXT
Output TEXT
Ready.

How to use the Remove Punctuation

  1. Paste the text you want to clean.
  2. Decide whether symbols such as currency signs, math operators and emoji should be removed as well.
  3. Copy the result, and tidy any double spaces left behind if needed.

Remove Punctuation from Any Text

Word lists, text analysis and string comparisons often work better without commas, quotes and brackets. This tool will remove punctuation of every kind, in any language, and leave letters, digits and whitespace intact.

Example

Input:
Hello, world! "Quotes" — dashes; (brackets) & symbols: $100 + tax?

Punctuation removed:
Hello world Quotes  dashes brackets  symbols $100 + tax

Punctuation and symbols removed:
Hello world Quotes  dashes brackets  symbols 100  tax

What counts as punctuation

The tool uses the Unicode punctuation categories, so it recognizes marks from many writing systems, not just the ASCII set. Removed by default:

  • sentence marks: . , ; : ! ? and the Spanish ¿ ¡;
  • quotes and apostrophes, straight and curly, plus guillemets « »;
  • hyphens and dashes (- – —), brackets and braces;
  • other marks such as & % @ # * / \ _ § ¶ • … ·.

The optional symbols setting also removes characters Unicode classifies as symbols: currency signs ($ € £), math operators (+ = < > | ~), ^ and the backtick, marks such as © ® ™ °, and emoji.

Side effects to expect

  • Contractions merge: “don't” becomes “dont” and “e-mail” becomes “email”.
  • Numbers change: “3.14” becomes “314” and “1,000” becomes “1000”, which alters the value.
  • Emails and URLs break: “a@b.com” turns into “abcom”.
  • Double spaces: removing a dash that stood between two spaces leaves two spaces. Clean them up with Remove Extra Spaces.

Accented letters are letters, not punctuation, so “Qué” keeps its accent. Use Remove Accents for that.

Removing punctuation in code

The common one-liners behave differently, especially with curly quotes, dashes and underscores:

MethodCurly quotes and dashesUnderscoreSymbols like $ and +
Python str.translate with string.punctuationkept (ASCII only)removedremoved
Python re.sub(r"[^\w\s]", "", s)removedkeptremoved
JavaScript s.replace(/\p{P}/gu, "")removedremovedkept

The JavaScript version matches this tool's default, because both use the Unicode punctuation categories; add \p{S} to the pattern to also remove symbols, like the optional setting here. Python's string.punctuation contains only the 32 ASCII marks, so text pasted from a word processor keeps its “smart” quotes and em dashes.

When to remove punctuation

  • Preparing text for word counts, tokenizing or simple natural-language processing.
  • Checking palindromes and anagrams, where only letters matter.
  • Normalizing names or titles before comparing or de-duplicating them.
  • Building tag lists and keyword lists from sentences.

If you only want to know which words occur most often, the Word Frequency Counter already ignores punctuation, so you can skip this step.

Privacy

All processing happens in your browser.

Frequently asked questions

Does removing punctuation also remove apostrophes?
Yes. Apostrophes are punctuation, so “don't” becomes “dont” and “it's” becomes “its”. If you need contractions intact, replace only specific marks with a find-and-replace tool.
Are dollar signs and plus signs punctuation?
No. Unicode classifies $, +, =, © and similar characters as symbols, so they stay by default. Turn on the symbols option to remove them too.
Does it work with non-English punctuation?
Yes. Marks such as ¿, ¡, « », „ and the Japanese full stop 。 belong to the Unicode punctuation categories and are removed as well.
Why does my text have double spaces after removing punctuation?
A mark that stood between two spaces, such as a dash, is removed but both spaces remain. Run the result through a tool that collapses repeated spaces.
Will emoji be removed?
Only when the symbols option is on. Emoji are classified as symbols in Unicode, not as punctuation.

Last updated September 26, 2026

Related tools