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

Nothing is uploaded. This tool runs entirely in your browser.

0 chars·0 words·0 lines
Before
0 chars · 0 words · 0 lines
After
0 chars · 0 words · 0 lines

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.

What happens to your text

Never uploaded

This tool does its work in the page you are looking at. Your text is read by your own browser, changed there, and saved back out from there. It is never sent to us, so there is no server copy to keep, leak, or delete.

There is no account and no email, so there is nothing to tie your text to you even in principle.