Clean pasted text without changing what it says.
Try it out at jdka1.github.io/Unformat.
### **Important** — “Don’t forget…”
becomes:
Important - "Don't forget..."
- Copy/paste whitespace and hidden-character artifacts
- Smart typography, mojibake, HTML entities, and line-ending cleanup
- Markdown headings, links, lists, tables, inline code, and fenced code blocks
- Optional keyboard-style plain text conversion
All processing runs locally in the browser. Unformat preserves wording, protected code, emoji sequences, and multilingual joiners by default.
The test suite covers typography, Unicode spaces and joiners, Markdown cleanup, protected code regions, mojibake repair, idempotence, and large input performance.
npm test