DevPik Logo

AI Text Cleaner

Strip the em dashes, curly quotes, ellipsis characters, non-breaking spaces, zero-width characters and markdown markers that AI output carries — then see every overused AI word flagged with its line number. Runs entirely in your browser.

Why Use AI Text Cleaner?

Most tools in this space are either one-trick em-dash swappers or "humanizers" that promise to defeat AI detection — a promise nothing can keep, and one that gets people into trouble. This tool does the honest, genuinely useful version of the job: it fixes twenty-odd categories of typographic and invisible-character problems that actually break code, spreadsheets, CMS fields and plain-text pipelines, shows you a counted from → to receipt for every change, and separately flags around 80 overused words and phrases with line numbers so you can edit them yourself. It handles the whole class of problem rather than just dashes, including the invisible characters nobody else bothers with — zero-width joiners, bidi controls, byte-order marks, Unicode tag characters. Everything runs client-side, so you can paste client work, unpublished drafts, or internal documents without them leaving your machine. And it tells you plainly what it can't do, which is more than the category norm.

How to Use AI Text Cleaner

  1. Paste text from Claude, ChatGPT, Gemini, Word, Google Docs, or anywhere else into the left box. Cleaning happens as you type — there's no button to press.
  2. Choose what happens to em dashes: convert to a single hyphen (most common), to a double hyphen (the plain-text convention), or leave them alone if you actually like them.
  3. Tick or untick the eight fix categories. All are on by default except emoji removal, which is off because people often want to keep emoji.
  4. Read the "What changed" panel. Every fix is counted and shown as a from → to mapping, so you can see exactly what the tool touched rather than trusting it blindly.
  5. Scroll to the flagged words and phrases. These are not rewritten — each one shows its line number and a suggestion, and you decide whether to edit the sentence.
  6. Check the em-dashes-per-1,000-words figure. Density tells you something that a raw count doesn't: two em dashes in a tweet is heavy, two in a 3,000-word report is nothing.
  7. Copy the cleaned text or download it as a .txt file. Nothing is uploaded — the whole thing runs as JavaScript in your browser.

Worked Examples

Cleaning a blog draft pasted out of a chat window

Input
A 900-word article containing 14 em dashes, curly quotes throughout, three ellipsis characters, markdown ** bold markers, and a stray zero-width space copied from the chat UI.
Output
31 fixes applied: 14 em dashes → hyphens, 9 smart quotes → straight, 3 ellipses → "...", 4 markdown markers stripped, 1 invisible character removed. Flagged separately: "delve into" (line 12), "it's worth noting" (line 30), "seamless" (line 44), "a testament to" (line 51).

The zero-width space is the one that matters most and is the only one you couldn't have found by eye.

Fixing a CSV that keeps breaking on import

Input
Product descriptions written with AI assistance, pasted into a spreadsheet and exported. The importer rejects six rows with no useful error.
Output
Curly apostrophes in "customer's" and "won't" converted to straight quotes; two non-breaking spaces converted to plain spaces; one byte-order mark removed from the start of the file.

This is the everyday version of the problem — nothing to do with AI detection, everything to do with a broken import at 6pm.

Checking your own writing for AI habits

Input
A 1,200-word post you wrote yourself, but after months of working alongside AI tools.
Output
Only 3 character fixes (you type straight quotes anyway), but 11 phrase flags: "leverage" ×3, "robust" ×2, "streamline", "holistic", "at the end of the day". Em-dash density: 4.2 per 1,000 words — within normal range.

The more useful direction of travel. The vocabulary rubs off on people, and seeing it listed with line numbers is a faster edit than re-reading.

About AI Text Cleaner

AI assistants leave two very different kinds of fingerprint on text, and they need completely different treatment. The first kind is mechanical. Language models emit typographic characters that most people never type by hand: the em dash (—, U+2014), curly quotes (“ ” ‘ ’), the single-character ellipsis (…, U+2026), non-breaking and thin spaces, and occasionally zero-width characters that are literally invisible. These are not stylistic choices you need to argue about — they are concrete code points, and they cause concrete problems. A curly apostrophe breaks a JSON string literal. An em dash in a CSV can shift a column if the file is misencoded. A non-breaking space in a CSS class name silently kills the selector. A zero-width space between two words makes an "identical" string fail an equality check, and you will never spot it by reading the file. Anyone who has spent an hour debugging a database lookup that fails on a value copied out of a chat window has met this problem. That half of the job is deterministic, so this tool just does it and tells you exactly what it changed. The em dash deserves special mention because it became the internet's favourite AI tell. Rolling Stone covered the "ChatGPT hyphen" phenomenon, and OpenAI announced in November 2025 that it had addressed ChatGPT's em-dash habit after sustained complaints. Worth keeping in perspective though: the em dash is a legitimate, useful piece of punctuation that good writers have used for centuries, and its presence proves nothing on its own. Density is the meaningful signal, not existence, which is why this tool reports em dashes per 1,000 words rather than just a count. The second kind of fingerprint is lexical — "delve into", "it's worth noting", "in today's fast-paced world", "a testament to", "robust", "seamless", "tapestry". This tool flags roughly 80 of these with line numbers and a suggestion, and deliberately does not rewrite them. Automatic synonym substitution produces worse prose, not better: replacing "delve into" with "examine" leaves the same limp sentence structure underneath. The actual fix is for a person to rewrite the sentence, or more often to delete it, and a tool can only usefully point at the problem. One thing this tool explicitly does not do is make AI-written text read as human-written to a detector. Punctuation is not what detectors measure, and Claude's watermark in particular is statistical rather than character-based — Anthropic's own documentation states that "nothing is added to the text and there are no hidden characters", so there is nothing for a find-and-replace tool to find. Any product advertising itself as a watermark remover is either misunderstanding this or relying on you to.

Troubleshooting & Common Issues

It removed em dashes I actually wanted to keep

Set the em dash dropdown to "keep as —". The em dash is legitimate punctuation and there's nothing wrong with using it deliberately — the default converts it because the most common reason people arrive here is a plain-text target that can't handle it. You can also convert to a double hyphen (--), which is the traditional typewriter and plain-text convention.

The markdown option mangled my text

Untick "Markdown markers". That option strips **bold**, ### headings, `code` and [link](url) syntax, which is what you want when pasting into an email or a plain CMS field, and exactly what you don't want if the destination renders markdown. It's a destructive transform by design.

It flagged a word I use legitimately

Expected, and why flags aren't auto-corrections. "Landscape" is a cliché in "the AI landscape" and completely fine in an article about gardening; "journey" is filler in marketing copy and correct when someone is actually travelling. The flags are prompts to look, not verdicts. Ignore the ones that don't apply.

Nothing was flagged but I'm sure the text is AI-written

Newer models have largely dropped the obvious vocabulary — "delve" and "tapestry" were 2023-24 tells and have been trained down since. Absence of flags is not evidence of human authorship, and this tool makes no claim to detect authorship at all. If that's what you need, use the AI Code Detector for source code, and treat any prose detector with heavy scepticism.

Will this remove Claude's or ChatGPT's watermark?

No, and nothing that works on characters can. Claude's watermark is statistical — it's encoded in which words the model selected, and Anthropic's documentation says explicitly that "nothing is added to the text and there are no hidden characters". There is no marker in the text for a cleaner to strip. Tools sold as watermark removers do not do what they claim.

My text got shorter than expected

Check the "What changed" panel — it counts every category. The usual culprits are the whitespace option (which collapses runs of spaces and trims 3+ blank lines to 2) and the markdown option. Both are individually toggleable. Character counts before and after are shown in the panel headers so you can compare.

I need to clean a very large document

Input is capped at 100,000 characters — roughly 15,000 words — so the page stays responsive while cleaning on every keystroke. For longer documents, split into sections, or clean the whole file with a script; every transform this tool applies is a plain string replacement you can reproduce with sed or a short Python function.

Frequently Asked Questions

Why does ChatGPT use so many em dashes?

Because its training data is full of them and nothing in the generation process discourages them. Em dashes are common in published prose — journalism, essays, books — and models reproduce the patterns they were trained on, without the practical friction that makes humans reach for a comma instead (em dashes are awkward to type on most keyboards). It became a widely-discussed tell during 2025, and OpenAI announced in November 2025 that it had addressed ChatGPT's em-dash habit after sustained user complaints.

Will this make my AI-written text undetectable?

No, and you shouldn't use it for that. Punctuation isn't what detectors measure — they look at statistical properties of word choice and sentence structure, which cleaning a dash doesn't touch. Anything marketed as making AI text "undetectable" is overselling, and if you're submitting work somewhere that prohibits undisclosed AI use, cleaning the formatting doesn't change what you did. The legitimate uses are matching a house style and stopping invisible characters from breaking your tooling.

Does this remove Claude's text watermark?

No. Claude's watermark is statistical, not character-based: it works by biasing which word the model picks next using a key plus the preceding context. Anthropic's own documentation states that "nothing is added to the text and there are no hidden characters", and that light editing won't remove it — only a complete rewrite where every word changes. No character-level cleaner can affect it, this one included. Any tool advertised as a Claude watermark remover is selling something that cannot work.

What are invisible characters and why do they matter?

Code points that occupy no visual space: zero-width space (U+200B), zero-width joiner and non-joiner, word joiner, byte-order mark, soft hyphen, bidirectional controls, and Unicode tag characters. They arrive via copy-paste from chat interfaces, web pages and PDFs. They matter because software sees them and you don't — two strings that look identical fail an equality check, a JSON key doesn't match, a CSS selector silently stops working, a database lookup returns nothing. They're also the standard vehicle for hiding data inside plain text, so stripping them is reasonable hygiene for anything you didn't type yourself.

Is this AI text cleaner free, and is my text uploaded?

Free with no signup, no limits, and no account. Nothing is uploaded: the entire tool is JavaScript running in your browser. You can verify that by opening your browser's network tab while typing, or by disconnecting from the internet after the page loads — it keeps working. That makes it safe for client work, unpublished drafts and internal documents.

Should I remove every em dash?

No. The em dash is proper punctuation that good writers have used for centuries, and removing all of them makes prose choppier. Convert them when your destination can't handle the character — plain-text email, a CSV, a legacy CMS, code — or when your style guide says so. If you're editing for style, look at the density figure instead: unusually high em-dash density alongside other tells is worth a second look, but a few em dashes in a long piece is just normal writing.

What words and phrases does it flag?

Around 80, grouped into six categories: overused verbs (delve, leverage, harness, unlock, elevate), inflated adjectives (robust, seamless, comprehensive, groundbreaking, meticulous), filler transitions (furthermore, moreover, it's worth noting, in conclusion), clichés (in today's fast-paced world, tapestry, a testament to, paradigm shift), assistant tics that shouldn't survive into published work (I hope this helps, great question, let me know if), and double hedges (may potentially, can potentially). Each shows a line number and a suggested direction, and none are changed automatically.

Does it work on text from Word or Google Docs?

Yes, and that's one of the best uses for it. Word and Google Docs both apply autocorrect that converts straight quotes to curly ones, hyphens to en and em dashes, and three periods to an ellipsis character — the same artifacts, from a completely different source. If you've ever pasted from Word into a code editor or a CMS and had something break, this is usually why.

Related Tools

Was this tool helpful?