Text Cleaner
Strip extra spaces, line breaks, page numbers, footnote markers, timestamps, and encoding artifacts. Pick a preset or toggle individual cleaners. Everything runs in your browser.
Presets are starting points — toggle individual options below to fine-tune.
Whitespace
Pattern removal
Encoding & characters
When to clean text
Pasted from a PDF: PDFs love to leak page numbers, headers, footers, and stray spaces between letters. Use the Clean OCR / PDF text preset.
Preparing input for ChatGPT or Claude: Strip footnote markers and fix mojibake so the AI focuses on the actual content. Use the Prepare for ChatGPT preset.
Cleaning OCR output: OCR tools introduce double spaces, broken paragraphs, and stray markers. The pattern-removal toggles handle most of it.
Privacy: Everything happens in your browser. Your text is never uploaded to any server.