Unicode Text Cleaner
Normalize, trim and clean problematic Unicode text safely.
Repair wrapped lines, words split by end-of-line hyphenation, non-breaking spaces and damaged paragraph formatting in text copied from PDFs.
The original input is preserved. The cleaner works on pasted text only; it does not upload or read PDF files.
| Change | Location | Before | After | Reason | Confidence |
|---|
This PDF text cleaner repairs hard line wraps, rejoins high-confidence split words, removes soft hyphens, normalizes unusual spaces, preserves paragraph breaks, tries to preserve lists and structured lines, shows each important change, keeps the original input unchanged and runs locally in the browser.
A hyphen-
ated word and wrapped
PDF lines should become
one paragraph.
This line contains a non-breaking space.
A hyphenated word and wrapped PDF lines should become one paragraph.
This line contains a non-breaking space.
Expected summary: split words repaired 1, wrapped lines joined 2, paragraph breaks preserved 1, special spaces replaced 1.
PDFs often store visual lines rather than logical paragraphs. Copying can insert line breaks at every visual line. The cleaner can replace paragraph-internal line breaks with spaces while blank lines remain paragraph boundaries when preservation is enabled. Lists, headings and table-like structures require heuristic handling and should be reviewed.
PDFs may split words at visual line endings. Soft hyphens and visible hyphens are different. Conservative mode repairs high-confidence cases such as docu- followed by ment. Aggressive mode may remove valid hyphens, and existing compounds such as well-known are preserved where possible. Review the change log before publishing.
U+00AD SOFT HYPHEN is an invisible discretionary hyphen. U+00A0, U+202F, U+2007 and U+2009 are common special spaces. The cleaner can replace them with ordinary spacing where enabled. Zero-width characters are handled by the Invisible Character Detector and related removal tools.
The cleaner tries not to merge bullet items, numbered list items, blank-line paragraph boundaries, likely headings, code-like lines or table-like rows. Heading and table detection are heuristic, so structured or technical text still needs inspection.
This tool cleans text already copied or extracted from a PDF. It does not accept PDF uploads, read PDF files, perform OCR or reliably correct recognition substitutions such as c0de instead of code. It may improve spacing and wrapping in OCR-generated text, but full OCR correction requires source-aware review.
Cleaning runs with JavaScript directly in your browser. Your pasted text is not submitted to UnicodeNow servers.
Paste the copied text, choose the PDF-specific line, hyphenation, spacing and structure options, then run the cleaner and review the change log.
PDFs often store visual lines instead of logical paragraphs, so copying can insert hard returns at every displayed line.
Yes. When enabled, it joins likely prose line wraps while preserving blank-line paragraph breaks and common structured lines where possible.
Conservative dehyphenation joins high-confidence end-of-line split words such as docu- followed by ment, and records the change.
It can, especially in aggressive mode. Conservative mode preserves likely compounds and ranges where possible, but the result should still be reviewed.
When special-space normalization is enabled, U+00A0, U+202F, U+2007 and U+2009 are replaced with ordinary U+0020 spaces and counted.
With paragraph preservation enabled, blank-line paragraph boundaries remain and repeated blank lines are collapsed to one blank line.
Yes. Common bullet and numbered-list markers are treated as structural boundaries so list items are not merged into paragraphs.
No. It cleans text already copied or extracted from a PDF. It does not read PDF files or infer OCR substitutions such as 0 versus O.
No. The tool accepts pasted text only and does not upload, parse or read PDF files.
No. Cleaning runs with JavaScript directly in your browser; your pasted text is not submitted to UnicodeNow servers.
For broader cleanup, use the Unicode Text Cleaner. To inspect hidden characters before removing them, use the Invisible Character Detector. For spacing-only cleanup, use the Whitespace Normalizer.
Normalize, trim and clean problematic Unicode text safely.
Normalize tabs, special spaces, duplicate spaces and line endings.
Find zero-width, control, variation, private-use and spacing characters.
Remove hidden Unicode controls and zero-width characters from text.
Remove control characters while optionally preserving tabs and line breaks.