Text cleaner

Remove hidden characters and special formatting so your text pastes cleanly anywhere. No record of your text is kept.

Paste from Word, Google Docs, a PDF, or a web page. It's cleaned as you paste.

What to fix

Paste your text

The clean version and a list of what was fixed appear here.

Cleaned text

0 fixes

Show where they were

Tell us what happened and what you expected. Please leave out personal information and private tool inputs.

These details describe your setup. They don’t include your name, email, or anything entered into the tool.

See the details included

Voting-limit status from this browser is included. Reports are stored by Netlify so I can investigate.

What it fixes

Paste text and you get a clean copy right away, with a list of what was fixed. These are the characters that cause most paste problems:

Character Where it comes from What it becomes
Zero-width space, joiner, word joiner Web pages, chat apps, AI tools Removed
Non-breaking and other special spaces Word, web pages, PDFs A normal space
Soft hyphen Word and web pages that hyphenate Removed
Byte order mark Files saved by some Windows programs Removed
Direction marks Text mixed with right-to-left languages Removed
Curly quotes and apostrophes (“ ” ‘ ’) Word, Google Docs, Pages, phones Straight “ and ’
En and em dashes (– —), minus sign Word, publishing tools A hyphen -
Ellipsis (…) Word, phones Three dots …
Joined letters (fi, fl) Text copied from PDFs Separate letters fi, fl
Line separator, page break, Windows line ends Word, PDFs, Windows files A standard line break

Remove extra spaces also takes away spaces at the end of lines and double spaces between words, but keeps the indentation at the start of a line, so code stays lined up.

Why it matters

Hidden characters cause problems that are hard to spot because the text looks fine:

  • Excel and Google Sheets: a number with a non-breaking space after it is treated as text, so it won’t add up, and a lookup fails when one cell has a hidden character the other doesn’t.
  • Code and config files: a curly quote or a zero-width space breaks a script or a JSON file, often with an error that points nowhere useful.
  • Website editors and forms: soft hyphens and odd spaces show up as strange gaps or break words in the wrong places.

How it works

Each character is checked against its Unicode category. Format characters (like zero-width spaces and direction marks) and control characters are removed, except tabs and line breaks. One exception is kept on purpose: the zero-width joiner between two emoji, which is what joins them into one emoji such as a family. Special spaces become normal spaces, and typographic quotes, dashes, and dots become their plain versions. Finally the text is normalized (Unicode NFC), so an accent stored separately from its letter is joined back to it, which keeps searches and comparisons working.

Limits

Turning dashes into hyphens and quotes into straight ones is right for code, spreadsheets, and data, but it’s a style change in finished writing. Untick those boxes to keep them. Plain ASCII only is for systems that reject anything else; it removes emoji and characters from non-Latin alphabets.

FAQs

What are hidden characters?

Characters you can't see that still sit in the text, like zero-width spaces, non-breaking spaces, soft hyphens, and byte order marks. Word, web pages, PDFs, and chat apps add them. They look like nothing, but they can stop a search from matching, break a formula, or make code fail.

Why does text from Word cause problems in Excel or code?

Word swaps plain characters for typographic ones as you type: straight quotes become curly, two hyphens become a dash, and some spaces become non-breaking. Excel sees "5" followed by a non-breaking space as text, not a number, and code treats a curly quote as a different character from a straight one.

Will cleaning change my words?

Default cleanup keeps ordinary letters and numbers, removes hidden characters, and replaces special quotes, dashes, spaces, and dots with plain versions. Optional Plain ASCII only can change or remove letters, including non-Latin characters. Review the changes shown in the result.

How can I see where the hidden characters were?

Open "Show where they were" under the result. Your original text appears with each hidden or special character labeled by name, such as "non-breaking space" or "zero-width space".

Does it remove emoji or accented letters?

Not by default. Emoji, accents, and other languages are kept. Tick "Plain ASCII only" if a system only accepts basic English characters; then accents are removed (é becomes e), a few symbols are spelled out, and emoji are dropped.

Does it remove bold, links, or other formatting?

Yes. Pasting into the box keeps only the text, so bold, italics, fonts, colors, and links are gone in the copy you take back.

Have an idea for a tool I should add? Send it in. I read every suggestion and choose which ones to build next.

For example: "Count the weekdays until a date, without holidays."

Please don't include your name, email, or anything personal. I don't need it. Voting-limit status from this browser is included.