textcleanups

Convert smart quotes

Turn curly quotes, long dashes and other typographer’s characters into plain keyboard characters.

Options
Long dash — becomes

Your text stays in your browser. Nothing is uploaded or saved.

All text tools

Or fix everything at once with the all-in-one text cleaner.

AI-written text

ChatGPT text cleaner
Remove hidden characters, odd spaces and Markdown from AI answers.
Remove em dashes
Replace every — with a comma, period or hyphen.
Remove Markdown
Turn Markdown into plain text: no **, #, links or tables.
AI phrase finder
Highlight overused AI words and phrases.

Lines

Remove line breaks
Turn text broken across many lines back into clean paragraphs.
Remove duplicate lines
Keep the first copy of every line and delete the repeats.
Remove empty lines
Delete blank lines, or cut long gaps down to one.
Sort lines
Sort a list A to Z, Z to A, by length, reversed or shuffled.
Add line numbers
Number every line, your way.
Remove line numbers
Strip numbers and bullets from the start of lines.
Comma separator
Turn a list into comma-separated text, and back.

Spaces and characters

Remove extra spaces
Collapse double spaces, trim lines and replace tabs.
Remove special characters
Strip symbols and keep only letters, numbers and punctuation you choose.
Remove emojis
Delete every emoji, including skin tones, flags and combined emoji.
Remove accents
Turn é into e, ü into u and ß into ss.
Convert smart quotes
Turn curly quotes, long dashes and ellipses into plain text.

Formatting and counting

Case converter
Switch text to sentence case, Title Case, UPPERCASE, camelCase and more.
Find and replace
Replace words or patterns across your text, with regex support.
Strip HTML tags
Turn HTML into clean, readable plain text.
Word counter
Count words, characters, sentences and reading time as you type.
Text diff checker
Compare two texts and see what changed.
Word frequency counter
See which words you use most.
Reverse text
Flip text backwards, by letter, word or line.

How to convert smart quotes

  1. Paste your text into the first box.
  2. Choose which characters to convert.
  3. Copy the plain-text version from the result box.

Why straight quotes matter

Word processors and phones automatically turn straight quotes into curly ones as you type. That looks good in a printed document, but it causes problems elsewhere:

  • Code and commands break. Programming languages, terminals and spreadsheet formulas only accept straight quotes. A command copied from a document often fails for this reason alone.
  • Data won't match. it’s and it's are different text to a computer, so searches and lookups miss.
  • Odd characters appear. Some older systems show curly quotes as ’ or other garbled characters.

Invisible characters

Text copied from web pages and chat apps sometimes carries zero-width characters. They take up no space, but they can break passwords, URLs, code and spreadsheet lookups. This tool removes them along with soft hyphens and byte-order marks.

Common uses

  • Fixing code, commands or formulas copied from a document or web page
  • Preparing text for CSV files and databases
  • Cleaning text for plain-text email or SMS
  • Matching values that look the same but won't compare as equal

Questions

How do I turn off smart quotes in Word?

Go to File > Options > Proofing > AutoCorrect Options > AutoFormat As You Type and uncheck Straight quotes with smart quotes. That only affects new typing, so use this tool for existing text.

What's the difference between a hyphen, an en dash and an em dash?

A hyphen (-) joins words. An en dash (–) marks ranges like 2024–2025. An em dash (—) sets off a phrase. Keyboards only have the hyphen, which is why plain-text systems expect it.

What are invisible characters?

Characters such as the zero-width space that take up no room on screen. They're used for line-breaking hints and formatting, but they often sneak into copied text.