Skip to content

HTML Tools

5 free tools · Format, minify and encode HTML.

Format and minify HTML, escape special characters and turn HTML into Markdown.

HTML Entity EncoderEscape or unescape HTML special characters.
HTML FormatterBeautify and indent HTML code.
HTML MinifierShrink HTML by removing spaces and comments.
HTML to MarkdownConvert HTML into clean Markdown.
YouTube Embed Code GeneratorNewResponsive YouTube iframe code with start time and options.

About our html tools

HTML is the foundation of every web page, email template and CMS article, and it often needs cleaning up. These HTML tools format messy or minified markup so its structure is readable, minify pages to reduce their size, escape and unescape special characters so code samples display correctly, and convert HTML into clean Markdown for documentation, GitHub and static-site generators.

The formatter uses js-beautify and the Markdown converter uses Turndown, both widely used open-source libraries, while the minifier and entity encoder follow simple, predictable rules that protect content in pre, textarea, script and style elements. Each tool shows exactly what it changes and what it leaves alone. Because markup often contains unpublished content, internal links or customer data, all processing happens in your browser and nothing is sent to a server. For CSS and JavaScript inside your pages, see the CSS Tools and Code Tools categories. Together they cover the full set of files that make up a typical static website.

Other categories