EthicalFusion

Remove Punctuation

Strip all punctuation marks from your text.

Was this tool helpful?

Thanks for the feedback!

This tool deletes the standard keyboard punctuation marks from your text, such as full stops, commas, quotes, brackets, hyphens and the @ # $ % family, and leaves letters, digits, spaces and line breaks alone. It is mostly used to prepare text for word counts, keyword analysis, matching and search, where "India," and "India" should be the same word.

The exact characters that are removed

The tool removes these 31 ASCII symbols wherever they appear:

! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ ] ^ _ ` { | } ~

Removed characters are simply deleted, not replaced with a space, so things that were joined by punctuation get glued together. Some examples:

  • it's becomes its, and well-known becomes wellknown.
  • 5:30 p.m. becomes 530 pm and 3.14 becomes 314.
  • asha@example.com becomes ashaexamplecom, and +91-98765-43210 becomes 919876543210.
  • C++ & C# becomes C C, with a double space where the ampersand stood.

Punctuation that is not removed

Only the ASCII set above is targeted. Typographic and non-English marks pass straight through:

  • curly or "smart" quotes and apostrophes (“ ” ‘ ’), which Word, Google Docs and phone keyboards insert automatically;
  • the en dash and em dash, and the single-character ellipsis (…);
  • the Devanagari danda (।) used as a full stop in Hindi and Marathi, and Spanish ¿ and ¡;
  • the backslash, which is missing from the tool's list, so C:\Users ends up as C\Users.

In a test, “Don’t panic,” she said came back as “Don’t panic” she said: only the comma went. If your text came from a word processor, replace smart quotes with straight ones first, or remove them by hand.

Where stripping punctuation helps

  • Word and keyword analysis: frequency counters and keyword tools treat "price," and "price" as different tokens. Clean text gives honest counts; run it through the word frequency counter afterwards.
  • Matching and de-duplicating names: "Dr. A. K. Singh" and "Dr A K Singh" become identical, which helps when merging contact lists or comparing registrations.
  • Making tags and IDs: turning a phrase into something you can use as a hashtag or file name. For web addresses, the slug generator is a better choice because it also adds hyphens and lowercases the text.
  • Teaching and puzzles: give students an unpunctuated passage and ask them to put the commas and full stops back.

Tips before you run it

Because hyphens and apostrophes are deleted rather than turned into spaces, decide whether you want e-mail to become email (usually fine) or two words. If you need a space instead, find and replace the hyphen with a space before using the tool. Numbers lose their decimal points and thousands separators, so keep a copy of the original if figures matter. Double spaces left behind by removed symbols can be tidied with Remove Extra Spaces.

Frequently asked questions

Does it remove apostrophes from words like don't?
Yes, straight apostrophes are removed and the letters join up, so don't becomes dont. Curly apostrophes from Word or phone keyboards are not removed.
Why are the quotation marks still in my text?
Your text probably uses curly smart quotes, which are not in the tool's list of ASCII symbols. Only straight quotes are deleted.
Will it remove the full stop used in Hindi?
No. The Devanagari danda is not an ASCII character, so it is kept along with all Hindi letters.
Does it replace punctuation with spaces?
No, each mark is deleted outright. Words joined by a hyphen or slash end up stuck together.
What happens to numbers with decimal points?
The decimal point and any thousands commas are removed, so 1,299.50 becomes 129950. Keep a copy if the values matter.

Related tools

Embed this tool on your site

Paste it into any blog or website. Free, with a credit link.