Remove Punctuation from Text

Paste your text and every mark in it appears in a list you click. Strip all of them or only the ones you pick, while decimals, links, emoji and line breaks stay whole.

Result

0 marks removed

0 protected

0 → 0 characters

0 words

Marks in your text

Red marks get removed. Click one to keep it, or click again to remove it.

Nothing here yet. Paste some text.

Protect

What a blind strip does to real text

Most online removers delete every character on a fixed list. Plain sentences survive that. Prices, times and addresses do not.

The same input through a blind strip and through this page's default settings
Your textBlind stripDefault settings here
1,250.751250751,250.75
12:30123012:30
-55-5
billing@toolexe.combillingtoolexecombilling@toolexe.com
red/greenredgreenred green
wait...whatwaitwhatwait what
e.g.egeg

A price that loses its decimal point is the worst outcome here, because the text still looks fine. 125075 gives no hint that a value changed by a factor of 100.

Try Load sample, then press Show changes

Load sample fills the box with a three-line warehouse note built to trip a remover. The list shows 30 marks: 22 removed, 8 protected. Show changes strikes the removed marks in red and tints the protected ones green, so you check the work at a glance.

Two results deserve a second look.

Want only the commas gone? Press Only what I click, then click the comma.

Your keyboard never typed half these marks

Type an apostrophe in Word, Google Docs or on an iPhone and autocorrect swaps in a curly one. Find and replace on ' then misses it, as does any remover built on the 32 ASCII marks. A paste from a document holds more of these than you expect:

Common marks outside ASCII
MarkNameCode pointUsual source
’Curly apostropheU+2019Word, Google Docs, iPhone keyboard
“ ”Curly double quotesU+201CU+201DThe same autocorrect
—Em dashU+2014Two hyphens after autocorrect
–En dashU+2013Number ranges in PDFs and books
…Ellipsis characterU+2026Three periods after autocorrect
¿ ¡Inverted marksU+00BFU+00A1Spanish text
。,Chinese full stop, fullwidth commaU+3002U+FF0CChinese text
؟Arabic question markU+061FArabic text

This page reads the Unicode punctuation and symbol categories, so every mark above lands in the list. Emoji sit in the symbol category too, and we exclude them on purpose. To drop an emoji, paste it into Also remove these characters.

Pick settings by where the text goes

Destinations and the settings each one needs
Text is headed forStripProtectReason
Keyword list or word cloudAll marksApostrophes, hyphenscan't and can stay separate terms
Word counts in a bag-of-words modelAll marksNoneEvery token matches, with one spelling per word
Product titles for a feedSymbolsNumbersDrops ® ™ and *, leaves sentence marks alone
Caption with hashtagsSentence marksLinks# and @ are symbols, so tags survive
Transcript notesQuotes and bracketsNumbersRemoves the brackets, keeps the words inside them

One curly apostrophe shrinks an SMS from 160 characters to 70

GSM-7, the default SMS alphabet, fits 160 characters in a message. Curly quotes and em dashes fall outside the set, so a single one switches the whole message to UCS-2, which fits 70. A 155-character reminder then bills as three segments instead of one.

Deleting every apostrophe is the wrong fix, since readers notice dont. Turn on smart encoding if your gateway has it, as Twilio and Telnyx do, or swap ’ for ' in the Text Replacer before sending. Keep this page for the em dashes and symbols.

Doing this in code

Each common one-liner carries a trap.

Python

import re, string
text.translate(str.maketrans("", "", string.punctuation))re.sub(r"[^\w\s]", "", text)

string.punctuation holds the 32 ASCII marks only, so can’t and the em dashes pass through untouched. The regex catches them, but deletes emoji as well, and _ stays because \w counts the underscore as a letter.

JavaScript

text.replace(/[\p{P}\p{S}]/gu, "")

The u flag is required for \p. Emoji go here as well, and a heart emoji leaves a stray invisible variation selector behind.

Google Sheets and Excel

=REGEXREPLACE(A1, "[\p{P}\p{S}]", "")=REGEXREPLACE(A1, "[[:punct:]]", "")

The first line is for Sheets. The second is the safer start in Excel, where REGEXREPLACE needs Microsoft 365. Excel 2021 and 2024 do not have the function. Test on a cell with curly quotes before filling down the column, since [[:punct:]] targets ASCII.

None of these guard numbers or links. Any of them turns 12:30 into 1230.

Leave the punctuation in for these jobs

Known limits

Cleaning runs in your browser. Your text never reaches Toolexe, and a refresh wipes the box.

Punctuation remover questions

Apostrophes, single marks, emoji and privacy.

How do I remove punctuation but keep apostrophes?

Tick Apostrophes in words under Protect. Words like don't and O'Connor keep the mark, straight or curly. Apostrophes outside a word, such as a closing quote mark, still go.

How do I remove only commas from text?

Press Only what I click, then click the comma in the list. Numbers such as 1,250 keep their commas while Numbers stays ticked. Untick Numbers to clear those as well.

Why did Find and Replace in Word miss my apostrophes?

Word autocorrects a typed apostrophe into a curly one, U+2019, a different character from the key on your keyboard. This page treats both as apostrophes and lists each one separately.

Does removing punctuation delete line breaks or spaces?

Line breaks and paragraph gaps stay. Tidy leftover spaces collapses double spaces and trims line ends, and unticking it leaves every space as is. To join lines, use Remove Line Breaks.

What is the difference between punctuation and special characters?

Unicode files commas, quotes and dashes under punctuation, and marks such as $, +, ™ and emoji under symbols. Special characters is an informal term for both. The Symbols button targets the second group plus marks like # and %, and leaves emoji alone.

Is my text uploaded anywhere?

No. The whole process runs in your browser, so nothing reaches our server. Closing or refreshing the page clears the text.