---
title: "Clean Pasted Text"
url: "https://markdownme.com/tools/clean-pasted-text"
category: "Formatters"
---

# Clean Pasted Text

Strip quote-bar glyphs (▎ │), terminal color codes ([1m, [22m), smart quotes, invisible/non-breaking spaces, and duplicated paragraphs from text pasted out of ChatGPT, terminals, or PDFs.

The fix for text that copied wrong. Paste anything that picked up junk on the way to your clipboard and get clean plain text back: the vertical quote bars (▎ │ ┃) ChatGPT and terminals prepend to quoted lines, leftover ANSI color codes like [1m and [22m, curly smart quotes, em/en dashes, ellipsis characters, zero-width and non-breaking spaces, and paragraphs that got duplicated when the source rendered the same block twice. Six independent toggles, live before/after preview, and a per-fix change count. Runs entirely in your browser — nothing is uploaded.

Page: https://markdownme.com/tools/clean-pasted-text

Type: Runs in your browser.

Keywords: clean pasted text, remove quote bars, remove vertical bar from text, strip ansi codes, remove terminal color codes, remove smart quotes, remove non-breaking space, remove zero width space, remove duplicate paragraphs, clean chatgpt paste, fix pasted text formatting, text sanitizer, remove invisible characters, clean copied text
