How it works
Every character in Unicode’s punctuation category is removed: periods, commas, quotation marks, brackets, dashes, question and exclamation marks in all scripts, including ¿ ¡ « » and CJK punctuation. After removal, double spaces created by deleted characters are collapsed.
An apostrophe or hyphen counts as “inside a word” when it has a letter or digit directly on both sides.
Rules this tool follows
- Keep apostrophes (default on) preserves contractions and names: don’t, O’Brien.
- Keep hyphens (default off) preserves compounds such as well-known.
- Remove symbols (default off) also deletes $, %, +, =, ©, € and other symbols. Emoji are symbols, so they are removed too.
- Line breaks are kept.
Example
Input
“Well-known” facts: don’t trust them (always)!
Output
Wellknown facts don’t trust them always
Common uses
- Preparing text for word counting, frequency analysis or comparison.
- Cleaning data for search indexes and simple classifiers.
- Creating plain word lists from formatted text.
Limitations and notes
- Removing punctuation can change meaning: “3.5” becomes “35” and “e-mail” becomes “email”.
- Numbers with decimal points and URLs are not protected; remove punctuation only from prose.