TextArray
100% local

Remove punctuation

Strip punctuation marks from text and keep the words intact.

Input
Output

Remove punctuation

Paste text and this tool strips the punctuation out of it, leaving the words and the spacing between them intact. It is the quick way to prepare text for a word-frequency count, clean up copy scraped from a web page before importing it into a spreadsheet, normalise a keyword list, or turn a sentence into a plain run of words for a slug, a filename or a passphrase.

Three options shape the result. The keep field takes the characters you want to survive: type a hyphen and an apostrophe and "state-of-the-art" and "it's" come through unbroken while every other mark goes. If you do not want words to glue together, replace punctuation with a space instead of deleting it — "state-of-the-art" then becomes "state of the art". That substitution can leave double spaces behind, so send the output through the remove extra spaces tool afterwards; one click moves it back to the input. Remove digits also strips numbers, which helps when a version string or a timestamp is noise rather than data.

Punctuation follows the Unicode definition, so it reaches well past the ASCII keyboard: em dashes, ellipses, typographic quotes and the marks of non-Latin scripts all go. Two details are worth knowing. The characters @ # % & * / and _ count as punctuation in Unicode and are removed too. Mathematical and currency symbols such as + = $ and € are not punctuation and stay — use the remove characters tool for those. Anything you want to protect goes in the keep field.

Everything runs in your browser. Your text is never uploaded, so drafts, client copy and internal notes stay on your device. Copy the result, download it as a .txt file, or move it to the input and chain another cleanup step.

FAQ

Which characters count as punctuation?
Everything Unicode classes as punctuation: . , ; : ! ? ' " ( ) [ ] { } - — … plus @ # % & * / \ and _, and the equivalent marks in non-Latin scripts. Symbols like + = $ € and © are not punctuation and are kept.
How do I keep hyphens or apostrophes?
Type them into the "Keep these characters" field. Each character you list is preserved everywhere it appears, so listing a hyphen and an apostrophe keeps compound words and contractions readable.
Why does my text have double spaces now?
That happens with "Replace with a space" on: a comma followed by a space becomes two spaces. It is left as-is so the tool does one job predictably. Run the output through the remove extra spaces tool to collapse them.
Does it remove numbers?
Only when "Remove digits too" is enabled. By default digits are left alone, so prices, dates and version numbers survive.
Is my text uploaded anywhere?
No. The tool runs entirely in your browser and your text never leaves your device.