How to Remove Punctuation from Text
To remove punctuation from text, paste it into the box above. The tool goes through the text once and deletes every punctuation mark: full stops, commas, question and exclamation marks, quotes, brackets, colons, semicolons, dashes and slashes. Letters, digits, spaces and line breaks are left alone, so paragraphs stay paragraphs. With the default settings, this text:
Hello, World! It's 3.14.becomes Hello World It's 3.14 because the comma, the exclamation mark and the final full stop are gone, while the apostrophe inside It's and the decimal point inside 3.14 are kept. Both are options, explained below. The tool counts what it removed and lists each mark under the result.
What Counts as Punctuation
The tool uses the Unicode definition of punctuation, not a short list of English marks. That includes the Spanish marks ¿ and ¡, French quotes « and », curly quotes, the ellipsis character …, the Chinese comma and full stop , 。, the Arabic comma and question mark ، ؟, the Devanagari danda । and the Hebrew maqaf ־. If a mark is punctuation in the standard, it is removed, whatever the language.
The underscore, the at sign, the hash sign, the percent sign and the ampersand are punctuation in that standard too, so they are removed. Emojis, letters from every script and combining accents are never touched. Combining marks stay attached to their letters, so café and résumé keep their accents even if they were typed as a letter plus a separate accent.
Keep Apostrophes and Hyphens Inside Words
Deleting every apostrophe turns don't into dont and it's into its, which changes the word. With Keep apostrophes in words on, an apostrophe (' or ’) is kept when it sits between two letters or digits, as in don't, it's and rock'n'roll. An apostrophe at the start or end of a word, such as a single quote around a word, is removed. This is a rule about position only. It does not know whether the word is a contraction.
Hyphens follow the same idea. With Keep hyphens in words on, a hyphen between two letters or digits is kept, so well-known, state-of-the-art and 2026-10-25 stay whole. A dash with spaces around it, an em dash and a double hyphen are removed. Turn the option off to turn well-known into wellknown.
Keep Decimal Points and Commas in Numbers
A full stop or comma that sits between two digits belongs to the number. With Keep marks in numbers on, 3.14, 1,250.50 and v1.2.3 stay as they are. A full stop after a number at the end of a sentence is still removed, because no digit follows it. Turn the option off and 3.14 becomes 314 and 1,000 becomes 1000.
A list written as 1,2,3 has digits on both sides of each comma, so it is read as number marks and kept. Written as 1, 2, 3 with spaces, the commas are removed.
Punctuation Removal Without Gluing Words Together
Most marks sit next to a space, so deleting them is safe. A few, such as the slash in read/write or and/or, join two words with no space. Deleting them glues the words together:
readwrite andorChoose Replace with A space and the same text gives read write and or. Marks next to a space, at the start or end of a line, or at the start or end of the text add nothing, and a run of several marks becomes one space. Do not use the space option for Chinese or Japanese, which are written without spaces between words. Keep it on Nothing there.
Remove Symbols Too
In the Unicode standard, signs such as $ + = < > ^ ` | ~, currency signs like € and £, and math signs like × and ÷ are symbols, not punctuation. They stay by default, so a price keeps its currency sign. Turn on Also remove symbols to take them out as well, and use this punctuation remover as a symbol remover. Symbols such as © and ™ go with them. Emojis are not removed by either setting. For those, use Remove Emojis from Text.
Removing Punctuation in Python and Excel
In Python, the usual way to remove punctuation from a string is to translate it with the standard table of marks:
import string
text = "Hello, World! It's 3.14."
print(text.translate(str.maketrans("", "", string.punctuation)))This prints Hello World Its 314. The table string.punctuation holds the 32 ASCII marks, which includes symbols such as $ + = and ~, and it knows nothing about marks from other languages. It also removes the apostrophe in It's and the point in 3.14, so the result differs from this tool's defaults. Excel has no single function for it. People nest SUBSTITUTE calls, one per mark. For a one-off column, paste the cells into the tool, copy the result and paste it back.
When to Remove Punctuation, and When Not To
Removing punctuation helps when you prepare text for counting or matching, for example before you run a Word Frequency Counter, when you clean a list of names or product titles, or when a system accepts only letters and digits. It is a poor idea for text that people will read. Without marks, sentence boundaries and meaning can be lost: Let's eat, grandma and Let's eat grandma say different things.
Taking out a dash that has spaces on both sides leaves two spaces in a row. Remove Extra Spaces collapses them. To join the lines of the result into one line, use Remove Line Breaks. If the text came from a chatbot or a web page and still has odd gaps, Invisible Character Remover finds hidden characters.
Privacy
The text is processed in your browser. It is not sent to a server and it is not stored. See the Privacy Policy for details.