Zum Hauptinhalt springen
PlusText Tools

Text Cleaner

Copied from a PDF and suddenly double spaces, broken umlauts and invisible control characters everywhere? The text cleaner tidies up: strip whitespace, HTML tags, URLs and special characters, straighten typography and quotes, find and replace with regex, transform case - all in the browser, in one go.

A live look inside

Live preview. It becomes interactive with your account.

What Text Cleaner does

Text that comes from elsewhere is rarely clean. Copied from a PDF it drags along double spaces and hard line breaks, from the web it brings HTML remnants and smart quotes, from foreign systems come invisible zero-width characters that nobody sees but that mess everything up. The text cleaner is the washing machine for exactly this junk.

The largest area is the cleaning operations. Collapse multiple spaces, remove extra blank lines, trim lines, strip HTML tags, throw out URLs, email addresses and phone numbers, remove special characters while keeping the umlauts. Each operation toggles individually, so you run exactly the cleaning your text needs and not one that throws away too much.

Typography is its own chapter. The cleaner corrects quotation marks into the German form, replaces hyphen sequences and three dots with the right characters and normalizes Unicode to the NFC form, so that identical-looking characters are also stored identically. Broken umlauts that arrived as ae, oe or ue can be converted back - especially useful for text from systems that disliked umlauts.

The invisible culprits get their own tool. Zero-width characters and other hidden control characters are removed, duplicate lines can be struck and lines sorted alphabetically. This is the kind of tidying you can barely manage by hand because you cannot even see the characters.

Find and replace goes beyond simple text replacement. Alongside normal replacing, the cleaner supports regular expressions, so you can also target patterns instead of fixed strings - all numbers, all bracketed expressions, all lines with a certain start. For anyone who knows regex, this is the fastest way through complex transformations.

Case is a dedicated area: all caps, all lowercase, capitalized sentence starts, or converted into programming styles like camelCase, snake_case and kebab-case. A diff view finally shows you what changed between input and result, so no cleaning secretly breaks something.

Everything runs in your browser; your text never leaves your device. No signup, no transmission, no data collection. Whether you clean an address list, declutter text from a PDF or knock a CSV column into shape - the text cleaner does in seconds what by hand would be half an hour of stubborn clicking.

Features

Toggleable cleanups

Remove whitespace, blank lines, HTML tags, URLs, emails and phone numbers individually - exactly as much as your text needs.

Fix typography

Quotation marks into the German form, correct special characters and Unicode normalization to NFC.

Repair umlauts

Turn ae, oe and ue back into real umlauts - for text from systems that disliked German umlauts.

Remove invisible characters

Strip zero-width and hidden control characters, remove duplicate lines, sort lines.

Find and replace with regex

Replace fixed strings or whole patterns - for anyone who knows regex, the fastest route.

Case transformations

Upper, lower, sentence case or camelCase, snake_case and kebab-case at the push of a button.

Diff view

See exactly what changed between input and result at the end - no secret cleaning.

How it works

  1. 1

    Paste your text

    Paste the text to be cleaned - whether from a PDF, the web or a spreadsheet.

  2. 2

    Pick the operations

    Toggle the fitting cleanups and typography fixes. Only what you activate gets applied.

  3. 3

    Find, replace, transform

    Use find and replace with or without regex and transform the case if needed.

  4. 4

    Check the result and copy

    Check the diff view that everything is right and copy the clean text out.

Who needs this

→Anyone copying text from PDFs who wants to shed the broken formatting.
→Editors freeing web text from HTML remnants and smart quotes.
→Developers converting strings into camelCase or snake_case.
→Office work cleaning address or data lists of duplicates and spaces.
→Anyone who has to remove hidden control characters from foreign systems.

Frequently asked questions

Are umlauts kept when cleaning?

Yes. Removing special characters deliberately keeps the German umlauts and eszett. Conversely, the cleaner can turn wrongly converted umlauts that arrived as ae, oe or ue back into real umlauts. You decide which direction you need.

What are zero-width characters?

They are invisible control characters with no width that come along when copying from some sources. You cannot see them, but they can throw off searches, comparisons and programs. The cleaner removes them reliably, which is practically impossible by hand.

Can I use regular expressions?

Yes. Alongside simple find and replace, the cleaner supports regex, so you can target patterns instead of fixed strings - such as all numbers or all lines with a certain start. Anyone who does not know regex simply uses the normal replace.

What does the diff view show?

It contrasts the source text and the cleaned text and marks what changed. This lets you check that a cleanup only removed what you wanted and did not secretly take something important with it.

Is my text uploaded?

No. The text cleaner works entirely in your browser. Your text never leaves your device, there is no transmission to a server and no signup. You can clean confidential texts without worry too.

Text & Contract Diff Viewer

Compare two texts or contract versions word-by-word and instantly see what changed. Words are…

Text Statistics

Comprehensive text analysis: Flesch score, Gunning Fog, word frequency, sentence length, read…

Word Frequency

Analyze word frequencies, bigrams, trigrams, word stems and Zipf distribution. Word cloud as…

Readability Score

Measure readability with Flesch-DE, Wiener Sachtextformel, and Lix index.

Markdown to HTML

Convert Markdown to HTML. Live preview, source code view, instantly copyable. Runs in your br…

Ready to use Text Cleaner?

No installation. No account needed to start. Open it right in your browser.

Open now