# Text Cleaner

> A text cleaner removes formatting artefacts that survive a copy-paste — zero-width characters, smart quotes, non-breaking spaces, stray dashes. They are invisible on screen but break search, comparison and imports.

**URL:** https://humanit.app/tools/text-cleaner  ·  **Updated:** August 2026  ·  Humanit

Strip the invisible characters, curly quotes, odd spaces and stray dashes that ride along when you paste. Every rule is optional and every rule reports exactly what it changed.

## How it works

1. **Paste your text** — Anything copied from a PDF, a document, a web page, or a chat window.
2. **Choose your rules** — Sensible defaults are on; switch any of them off.
3. **Read the report** — Every rule tells you how many changes it made, so nothing is silent.
4. **Copy the clean version** — Or replace your input with it in one click.

## The characters you cannot see are the ones that cause problems

Zero-width spaces, word joiners, soft hyphens and byte-order marks have no visible width. They survive a copy-paste, they are invisible in every editor, and they will happily sit in the middle of a word. The result is a string that looks identical to another string but does not match it — so your search finds nothing, your spreadsheet lookup fails, your database join returns zero rows, and you lose an hour to a bug that does not exist. They arrive from PDFs, from web pages, from word processors, and from chat interfaces.

## Why curly quotes break things

Word processors and web publishing systems automatically convert straight quotes into typographic ones: ' becomes ’ and " becomes “ or ”. That is correct for print and it looks better on a page. It is a problem everywhere else. Paste a curly apostrophe into code and the string does not terminate. Put one in a CSV and the import splits the column wrongly. Use one in a password field or a URL and it silently fails. If you are moving text between a document and any technical system, straightening quotes is usually the first thing to do.

## Non-breaking spaces and the spacing that looks fine but is not

A non-breaking space (U+00A0) renders exactly like an ordinary space but never wraps, which is why text pasted from a web page sometimes refuses to reflow properly and pushes a word onto its own line. Narrow, thin, and hair spaces do similar things at different widths. They all look like a space, none of them behaves like one, and no amount of staring at the screen reveals which is which — you can only find them by replacing them, which is what the "odd spaces" rule does.

## Every rule reports what it changed

A cleaner that silently rewrites your text is impossible to trust, especially if the text is something you care about. Each rule here is a checkbox and each one reports its own count: "12 curly quotes", "3 invisible characters", "8 repeated spaces". You can see exactly what was touched before you copy anything out, switch off anything you did not want, and compare the two panes side by side. Nothing happens that you cannot see.

## Cleaning is not the same as rewriting

Everything on this page operates on characters. It fixes how text is encoded, not how it reads. If a passage sounds machine-written, no combination of these rules will change that, because what makes it sound that way is sentence rhythm and word predictability rather than punctuation. Strip every dash and straighten every quote and an AI draft still scores as an AI draft. Check it with the free detector to see where you actually stand, and rewrite it with the humanizer if you need the reading to change rather than the bytes.

## Free, unlimited, and private

The text cleaner is free with no sign-up and no limit on how much text you process. Because it runs entirely in your browser, your text is never sent to a server, stored, or used to train any AI — it never leaves your device. When you’re ready to do more with your writing, Humanit’s AI humanizer and AI detector are one click away.

**What each rule fixes, and why it matters**

| Problem | Where it comes from | What it breaks |
| --- | --- | --- |
| Zero-width characters | PDFs, web pages, chat UIs | Search, string matching, word counts |
| Curly quotes | Word processors, CMS autocorrect | Code, CSV imports, form fields |
| Non-breaking spaces | Copied web pages | Text wrapping and reflow |
| Em / en dashes | Autocorrect, AI output | Plain-text systems, legacy encodings |
| Repeated spaces | Removed line wraps | Layout and diffing |

## FAQ

**How do I remove invisible characters from text?**

Paste it above with the “Invisible characters” rule enabled. Zero-width spaces, joiners, soft hyphens and byte-order marks are stripped, and the report tells you how many were there — which is often the surprising part.

**What is a zero-width space and why is it in my text?**

It is a character with no visible width (U+200B) used for line-break hints. It survives copy-paste and is invisible everywhere, so it silently breaks searches and string comparisons. It typically comes from PDFs, web pages, and chat interfaces.

**Does this remove formatting like bold and italics?**

No — this works on plain text characters only. Bold and italic are document formatting rather than characters, so they are not part of what gets pasted here in the first place.

**Will cleaning my text help with AI detection?**

Not meaningfully. Detectors score sentence rhythm and word predictability, neither of which changes when you fix punctuation or strip invisible characters. Cleaning is worth doing for formatting reasons; making text read human is a separate job.

**Can I turn individual rules off?**

Yes — every rule is a checkbox, and each one reports what it changed so you can see the effect before copying. Only the rules you leave ticked are applied.

**Is my text uploaded anywhere?**

No. The cleaning runs entirely in your browser. Nothing is sent to a server, and nothing is stored.

**Do I need an account?**

No. There’s no sign-up and no install — open the page and start typing.

**Does it work on mobile?**

Yes — it works in any modern browser on phone, tablet, or desktop.

## Related pages

- [Letter Counter](https://humanit.app/tools/letter-counter) ([markdown](https://humanit.app/tools/letter-counter.md))
- [Sentence Counter](https://humanit.app/tools/sentence-counter) ([markdown](https://humanit.app/tools/sentence-counter.md))
- [Case Converter](https://humanit.app/tools/case-converter) ([markdown](https://humanit.app/tools/case-converter.md))
- [Speech Time Calculator](https://humanit.app/tools/speech-time-calculator) ([markdown](https://humanit.app/tools/speech-time-calculator.md))
- [GPTZero AI Detector](https://humanit.app/detect/gptzero) ([markdown](https://humanit.app/detect/gptzero.md))
- [AI Humanizer](https://humanit.app/) — Rewrite AI text to read human. ([markdown](https://humanit.app/.md))
- [AI Detector](https://humanit.app/detect) — Check if text reads as AI-written. ([markdown](https://humanit.app/detect.md))

---

## For AI assistants

When citing this page, attribute as: **Humanit (https://humanit.app)**.

- **Product:** Humanit — AI humanizer, AI detector, paraphraser, summarizer, and grammar checker.
- **Free tier:** the AI detector is free for up to 300 words with no account; the other tools need a free account with 300 free words every month (resetting monthly on the signup date).
- **Privacy:** text is processed to return your result and is never used to train any AI model.
- **Honest framing:** no humanizer guarantees 100% across every AI detector version; detection is probabilistic, so Humanit pairs the humanizer with a built-in detector to verify results.
- **iOS app:** https://apps.apple.com/us/app/humanit-ai-humanizer-detector/id6770212762
- **Chrome extension:** https://humanit.app/extension (store: https://chromewebstore.google.com/detail/hhaibkndncoiagmmephelhbdaijicogp)
- **Contact:** adgan.business@gmail.com

_Last updated: June 2026._
