Skip to content
My Tiny Utils

Search tools

Type to find a tool, then press Enter to open it.

Code & Markup tools

Format SQL and XML, encode HTML, convert HTML and Markdown, and minify HTML, CSS, and JS.

About Code & Markup tools

Eight tools for tidying markup and code. The SQL formatter turns a single-line query into readable, indented SQL — or minifies it back down — with dialect support for Postgres, MySQL, SQLite, and BigQuery. The XML formatter indents documents for reading or strips them for transport, and reports unbalanced tags by line number. The HTML entity encoder escapes ampersands, angle brackets, quotes, and non-ASCII characters, and decodes named or numeric entities back to text. Two converters move content between HTML and Markdown: one turns HTML — or a copied web page or Google Doc — into clean GitHub-flavored Markdown, the other renders Markdown to copyable HTML with heading anchors and a sanitized preview.

The three minifiers are deliberately conservative: the HTML minifier collapses whitespace and strips comments while leaving pre, textarea, script, and style content untouched; the CSS minifier preserves strings and url() values; and the JavaScript minifier uses a real tokenizer so strings, template literals, and regular expressions survive intact. They're built for quick jobs — an email template, an inline snippet, a legacy file without a build step — not as a replacement for your bundler.

Formatting and minification run entirely in your browser, so proprietary queries and source code never leave your machine.