Txt Format
This website aims to help you with tasks where text formatting is needed. It’s not intended to replace a word processor, but the formatting tools available there can help speed up some jobs which might otherwise be long and repetitive.
Website: https://txtformat.com/
XML Formatter
Formats a XML string/file with your desired indentation level. The formatting rules are not configurable but it uses a per-element indentation pattern giving the best readability.
Website: https://www.freeformatter.com/xml-formatter.html
Remove line breaks
If you’ve ever received a text that was formatted in a skinny column with line breaks at the end of each line, like text from an email or copy-pasted text from a PDF column with spacing, word wrap, or line break problems, then this tool is pretty darn handy.
Website: https://www.textfixer.com/tools/remove-line-breaks.php
Word to HTML
We all know a colleague or a client that keeps sending Microsoft Word files containing articles to publish or even HTML. While Word is a good text processor, its internal markup can quickly becomes a nightmare if you copy-paste it into a CMS or HTML file. Here’s a pretty good tool to get rid of most Word markup.
Website: https://wordtohtml.net/
CSS Beautifier
Enter your messy, minified, or obfuscated CSS Style Sheets into the field to have it cleaned up and made pretty. The editor also contains helpful line numbers and syntax highlighting. There are many options to tailor the beautifier to your personal formatting tastes.
Website: https://www.cleancss.com/css-beautify/
CSS Minifier
The counterpart of CSS Beautifier: This super useful tool allows you to minify (removes the spacing, indentation, newlines, and comments) a CSS file online in order to optimize your website speed.
Website: https://www.cleancss.com/css-minify/
HTML Formatter
HTML Formatter is a free online tool to format an ugly HTML code, making it readable and pretty, with the proper indentation. Very handy on a daily basis.
Website: https://htmlformatter.com/
Strip HTML
Strip HTML gives you a quick, easy and satisfying way to transform your ugly formatted and/or HTMLified text into a clean and pretty text for you to enjoy.
Very useful when needing to get text from a HTML source.
Website: https://www.striphtml.com/
PHP Beautifier
Proper formatting makes code easier to read and understand. PHP Beautifier parses your source code and formats it in the style of your choice. As a developer often working with messy code from custom WordPress Themes, this is a tool I basically can’t live with.
Website: http://phpbeautifier.com/
Find and Replace Text
A pretty good tool for searching and replacing occurences in a text file. The tool supports case-matching searches as well as Regular Expressions.
Website: http://textmechanic.com/text-tools/basic-text-tools/find-and-replace-text/
Any other text formatting tool we should recommend? Let us know in a comment.