Skip to content
Robert Askam

Tools

105 small utilities I use day to day. Free, no sign-up, and most run entirely in your browser, so nothing you paste leaves your machine.

Showing 105 tools

URL parser Break a URL into its protocol, username, password, host, port, path, query string and hash, with a table of decoded query parameters. URL encoder Percent-encode text for use in a URL online. Encode a single query value or path segment, or a whole URL while keeping its structure. URL decoder Decode percent-encoded URLs and query strings online. Treats + as a space if you like and leaves malformed sequences untouched. Slug generator Turn titles into clean URL slugs online. Strips accents and punctuation, lowercases and joins words with hyphens or underscores. HTML formatter Format and beautify HTML online. Indent nested tags neatly with your choice of indent size or tabs, free and in your browser. HTML minifier Minify HTML online. Remove comments, collapse whitespace and compress inline CSS and JavaScript to make pages smaller. HTML encoder Encode text as HTML entities online. Converts special characters and every non-ASCII character to numeric character references. HTML decoder Decode HTML entities online. Turns named entities like &eacute; and numeric ones like &#233; or &#xE9; back into readable text. HTML escape Escape HTML special characters online. Replaces & < > " and ' with entities so code or text can be shown safely in a web page. HTML unescape Unescape HTML online. Turns &amp;, &lt;, &gt;, &quot; and &#39; back into the characters they stand for, leaving other entities alone. HTML validator Check HTML for unclosed or mismatched tags, duplicate ids, missing alt text and basic nesting mistakes, with line numbers. Runs in your browser. HTML stripper Strip HTML tags online and keep just the text. Removes scripts, styles and comments, with options to keep line breaks and decode entities. CSS beautifier Beautify and format CSS online. Turns minified stylesheets into readable, indented rules with your choice of indent size or tabs. CSS minifier Minify CSS online with CSSO. Removes whitespace and comments, shortens values and merges duplicate rules to shrink your stylesheet. CSS validator Validate CSS online. Finds syntax errors, unclosed blocks, unknown properties and invalid values, with the line and column of each one. JavaScript beautifier Beautify and format JavaScript online. Re-indents minified or messy code with your choice of indent size and brace style. JavaScript minifier Minify JavaScript online with Terser. Compress code and shorten variable names, with syntax errors reported by line and column. JavaScript escape Escape text for a JavaScript string literal. Handles quotes, backslashes, new lines, control characters and optional \u escapes for non-ASCII. JavaScript unescape Unescape JavaScript strings online. Converts \n, \t, \x, \u and quote escapes back into the characters they represent. Markdown editor Write Markdown with a live side-by-side preview in your browser, then copy the Markdown or the generated HTML. Markdown to HTML Convert Markdown to HTML online, with GitHub Flavored Markdown tables and task lists, and a sanitised preview of the result. HTML to Markdown Convert HTML to clean Markdown online. Choose ATX or Setext headings, the bullet marker and fenced or indented code blocks.
JSON formatter Format and pretty print JSON online with 2 spaces, 4 spaces or tabs and optional sorted keys. Invalid JSON is reported with its line and column. JSON minifier Minify JSON online by removing every unnecessary space and line break. Strings, key order and numbers are kept exactly as written. JSON escape Escape text for use as a JSON string value online. Quotes, backslashes, tabs and line breaks become \", \\, \t and \n. JSON unescape Unescape a JSON string online, turning \n, \t, \", \\ and é style escapes back into plain readable text. JSON validator Validate JSON online and find errors fast. Shows the line, column and surrounding text of trailing commas, missing quotes and other mistakes. XML formatter Format and pretty print XML online with your choice of indentation. Comments, CDATA and the XML declaration are kept intact. XML minifier Minify XML online by removing whitespace between tags, extra spaces inside tags and, optionally, comments. Attribute values stay unchanged. XML encoder Encode text for XML online, turning special and non-ASCII characters into numeric character references such as &#233; or &#xE9;. XML decoder Decode XML character references online. Converts decimal and hexadecimal references and the five predefined entities back into plain text. XML escape Escape text for XML online. Replaces &, <, >, double quotes and apostrophes with &amp;, &lt;, &gt;, &quot; and &apos;. XML unescape Unescape XML text online, turning &amp;, &lt;, &gt;, &quot; and &apos; back into the characters they stand for. XML validator Check that XML is well-formed online. Finds mismatched and unclosed tags, bad attributes and extra root elements, with line numbers. XML to JSON Convert XML to JSON online. Repeated elements become arrays and attributes can be kept as @name keys, with optional number conversion. JSON to XML Convert JSON to XML online with a root element name of your choice. Keys starting with @ become attributes and arrays repeat elements. YAML validator Validate YAML online and see exactly where it breaks. Reports bad indentation, duplicate keys and syntax errors with line and column. YAML to JSON Convert YAML to JSON online. Handles nested maps, lists, multi-line strings and multiple documents, which become a JSON array. JSON to YAML Convert JSON to YAML online. Produces clean block-style YAML, quoting values like yes or 0123 so they keep their meaning. CSV to JSON Convert CSV to JSON online. Uses the header row as keys, detects comma, semicolon or tab delimiters and can convert numbers and booleans. JSON to CSV Convert a JSON array of objects to CSV online. Nested objects are flattened into dot-separated columns ready for Excel or Google Sheets. PHP array to JSON Convert a PHP array to JSON online. Understands [] and array() syntax, nested arrays, quoted strings, numbers, booleans, null and comments. JSON to PHP array Convert JSON to a PHP array online using short [] syntax, 4-space indentation and correctly escaped single or double quoted strings. SQL formatter Format SQL queries online for MySQL, PostgreSQL, SQLite, SQL Server, MariaDB or standard SQL, with upper or lower case keywords. SQL minifier Minify SQL online by removing comments, line breaks and extra spaces. String literals and quoted identifiers are never changed. SQL escape Escape a value for use inside a single-quoted SQL string online, doubling quotes for standard SQL or using MySQL's backslash escapes.
Base64 encode / decode Decode from Base64 or Encode to Base64 with advanced formatting options. Use this free tool to convert your data. Base32 encoder Encode text to Base32 online using the RFC 4648 alphabet or the extended hex alphabet, with or without = padding. Runs in your browser. Base32 decoder Decode Base32 back to readable UTF-8 text. Accepts upper or lower case, missing padding and spaces, and tells you when the result is binary. Base32 to HEX Convert Base32 to hexadecimal bytes. Handy for inspecting TOTP secrets and binary values, with a choice of separator and letter case. HEX to Base32 Turn hexadecimal bytes into a Base32 string. Spaces, colons and 0x prefixes in the HEX are ignored, and padding is optional. Base58 encoder Encode text to Base58 with the Bitcoin alphabet, which leaves out 0, O, I and l so the output is easy to read and copy by hand. Base58 decoder Decode a Base58 string (Bitcoin alphabet) to text. Invalid characters are pointed out and binary results are flagged rather than garbled. Base58 to HEX Convert Base58, such as a Bitcoin address, to hexadecimal. Leading 1 characters are kept as leading zero bytes in the HEX output. HEX to Base58 Encode hexadecimal bytes as Base58 using the Bitcoin alphabet. Each leading 00 byte becomes a leading 1, exactly as in Bitcoin addresses. Base64 encoder Encode text to Base64 as you type. UTF-8 safe for accents and emoji, with URL-safe output and 76-character MIME line wrapping options. Base64 decoder Decode Base64 or Base64URL to UTF-8 text in your browser. Missing padding and line breaks are handled, and binary data is detected. Base64 to HEX Convert Base64 to hexadecimal to see the exact bytes behind a hash, key or signature. Works with standard and URL-safe Base64. HEX to Base64 Convert hexadecimal to Base64, for example to turn a HEX digest into the Base64 form used in HTTP headers and subresource integrity. Base64 to image Paste Base64 or a data URI to preview the image, see its type, dimensions and file size, and download it. Nothing leaves your browser. Image to Base64 Convert an image to Base64 and get a data URI, CSS background and HTML img snippet ready to copy, plus how much larger the encoding is. JWT decoder Decode a JSON Web Token in your browser to read its header and payload, with exp, iat and nbf shown as dates and whether it has expired. Number base converter Convert numbers between binary, octal, decimal and hexadecimal online. Very large values stay exact and invalid digits are flagged.
Hash generator This free online tool let's you compute a hash using your desired algorithm, for example MD5 or SHA-256 and many others. MD5 hash Generate the MD5 hash of text or a file in your browser. Useful for checksums and cache keys, but broken for security, so never use it for passwords. SHA-1 hash Calculate a SHA-1 checksum for text or files, as used by Git object IDs and older certificates. Output as HEX or Base64, all done locally. SHA-224 hash Create SHA-224 digests online: the truncated SHA-2 variant with a 224-bit result. Hash typed text live or checksum a file of any size. SHA-256 hash Get the SHA-256 hash of any text or file. The standard for file checksums, Bitcoin and code signing, computed privately on your own device. SHA-384 hash Compute SHA-384 hashes free online. Pick Base64 output to build subresource integrity (SRI) values for script and link tags. SHA-512 hash Produce a 512-bit SHA-512 digest from text or a file. Fast on 64-bit machines and widely supported; the hash updates as you type. SHA-3 hash Hash text or files with SHA-3 (FIPS 202) and choose a 224, 256, 384 or 512-bit output. Note that this is not the same as Ethereum's Keccak-256. RIPEMD-160 hash Generate RIPEMD-160 hashes, the 160-bit digest Bitcoin applies after SHA-256 to make public key hashes. Text or file input, no upload. MD5 HMAC Compute an HMAC-MD5 code from a message and a secret key, for older APIs and legacy systems that still sign requests with MD5. SHA-1 HMAC Create HMAC-SHA1 signatures, as used by OAuth 1.0, TOTP codes and many webhook providers. Key as text or HEX; output as HEX or Base64. SHA-224 HMAC Generate an HMAC-SHA224 tag for a message with your secret key. A shorter SHA-2 based MAC, checked against the RFC 4231 test vectors. SHA-256 HMAC Sign or verify a webhook payload with HMAC-SHA256, the MAC behind Stripe, GitHub, Slack and AWS signatures and JWT HS256. Runs locally. SHA-384 HMAC Work out HMAC-SHA384 values for a message and key, matching JWT HS384 signing and TLS cipher suites that use SHA-384. SHA-512 HMAC Calculate HMAC-SHA512 for API request signing, as required by many crypto exchanges and JWT HS512. Your secret stays on this device. SHA-3 HMAC Build HMAC-SHA3 codes with a 224, 256, 384 or 512-bit SHA-3 digest. Enter a message and secret key, then copy the result as HEX or Base64. RIPEMD-160 HMAC Produce HMAC-RIPEMD160 message authentication codes (RFC 2286) from text and a key. A 160-bit alternative to HMAC-SHA1, computed offline. Bcrypt generator Hash a password with bcrypt at a cost factor from 4 to 14. Gives a standard $2b$ hash with a random salt that PHP password_verify() accepts. Bcrypt checker Check whether a password matches a bcrypt hash, including $2y$ hashes from PHP and Laravel. The check runs in your browser and nothing is sent.