Free · Private · Runs in your browser

AI Text Cleaner – Remove Markdown, Asterisks & Hidden Characters

Strip ChatGPT, Claude, and Gemini formatting in one click: remove **bold** asterisks, ### headings, em-dashes (—), invisible Unicode characters, and broken PDF line breaks.

0 words · 0 chars

More writing & AI tools

What formatting artifacts do AI models leave in pasted text?

Why copying from ChatGPT, Claude, or PDF documents breaks formatting in Word, Gmail, Notion, and CMS editors.

When you copy raw Markdown or rich text from an AI assistant, hidden formatting symbols and typographical quirks often come along for the ride. The reference table below shows the exact patterns our cleaner detects and strips locally in your browser:

Artifact Type Raw Pasted Input Cleaned Output Why It Matters
Markdown Bold & Italic **Key takeaway:** *always* test Key takeaway: always test Prevents literal asterisks from appearing in plain-text emails, social posts, and docs
Heading Hashes ### 1. Introduction 1. Introduction Removes #, ##, and ### prefixes without deleting the heading text
AI Em-Dashes (—) Clear writing—especially online—wins Clear writing, especially online, wins LLMs overuse em-dashes; replacing them with commas or hyphens restores natural pacing
Zero-Width Unicode word​count test (U+200B, U+00A0) wordcount test Prevents invisible characters from breaking code compilers, regex searches, or character limits
Broken PDF Line Wraps Hard line break at column\nedge inside a sentence. Hard line break at column edge inside a sentence. Merges broken single newlines from PDFs while keeping double newlines as paragraphs

After cleaning your draft, check its Flesch readability score and keyword phrase frequency in the text analyzer, or estimate prompt size in the LLM token counter.

Frequently asked questions

How do I remove Markdown formatting from ChatGPT or Claude output?

Paste your AI-generated text into the cleaner and keep “Remove Markdown formatting” checked. The tool immediately strips bold asterisks (**), heading hashes (###), backticks (`), blockquotes (>), and markdown link brackets while keeping your actual sentences and paragraph structure intact.

Does this tool remove invisible Unicode characters and zero-width spaces?

Yes. It automatically scans for and removes zero-width spaces (U+200B), zero-width non-joiners (U+200C), zero-width joiners (U+200D), byte-order marks (U+FEFF), and non-breaking spaces (U+00A0), showing the exact count of hidden characters removed.

Why replace em-dashes (—) in AI-generated writing?

Large language models overuse em-dashes (—) far more frequently than human writers. Replacing excessive em-dashes with standard commas or spaced hyphens makes your draft read more naturally.

How do I remove unwanted line breaks copied from a PDF?

Enable “Unwrap single line breaks (PDF fix)”. It joins lines that were artificially wrapped at the edge of a PDF column into continuous sentences while keeping double line breaks as clean paragraphs.

Is my text private when using the AI Text Cleaner?

Yes. All text cleaning runs 100% locally inside your browser using JavaScript. Nothing you paste is ever uploaded to any server.