Text comparison and formatting tools
Eight tools for the moment a text has to move somewhere else or be checked against another version: compare two drafts, replace a phrase everywhere, turn text into HTML or HTML back into text, write and preview Markdown, tidy messy HTML or fix the spacing of a draft. Your text is processed locally, never uploaded.
Which tool should I use?
- Text Diff Checker
Compare two texts and see exactly what was added or removed.
Use it when: Two versions of a draft, a contract or a configuration file exist and you need to see exactly what changed.
- Find and Replace
Search a text and replace every match, with optional regular expressions.
Use it when: The same word, phrase or pattern has to change everywhere in a text, with an optional regular expression.
- Text to HTML
Turn plain text into clean, escaped HTML paragraphs.
Use it when: Plain text from an email or a document has to go into a web page, a template or a content management system.
- HTML to Text
Strip the tags from HTML and keep readable plain text.
Use it when: You have HTML but only want what a reader would see, without tags, scripts or styling.
- Markdown to HTML
Convert Markdown to HTML source code, with GitHub-style extras.
Use it when: You write in Markdown and need the HTML source to paste into a page, an email or a template.
- Markdown Preview
See your Markdown rendered live as you type.
Use it when: You want to see a README, a note or documentation rendered while you type, before it is published.
- HTML Formatter
Beautify and indent messy HTML so the structure is clear.
Use it when: Minified or tangled HTML has to be indented so that its structure can be read, reviewed and edited.
- Text Formatter
Fix spacing, punctuation, capitals and quotes in one pass.
Use it when: A draft has uneven spacing, misplaced punctuation, missing capitals or straight quotes to fix before publishing.
What these tools have in common
The two Markdown tools use the same parser, with GitHub-style tables, task lists and strikethrough, and the preview sanitises the result, so a pasted script, event handler or javascript: link does nothing. Markdown over 500,000 characters is refused with a message rather than freezing the tab; a long README is about a tenth of that.
The diff checker is exact for ordinary edits, and for very different texts it shows the differing middle as one replaced block instead of guessing. Comparisons and conversions run entirely on your device, which matters when the text is a contract, a configuration file or unpublished copy.