Developer Tools
Format, encode, hash and test - 39 working tools
Developer utilities: format, encode, hash and test
Developer tools save time on small jobs that come up every day: reading a minified payload, encoding a value, checking a pattern, converting a timestamp. The 39 tools on this page cover data formats, encoding, hashing, regular expressions, scheduling and front-end helpers. Always be careful about pasting secrets, tokens or production data into any website, and prefer sample data when you can.
Formatting and validating data
Start with the JSON Formatter to indent a payload and explore it as a tree, then the JSON Validator to find the exact line of a syntax error. The JSON Minifier does the reverse, and the JSON Diff tool compares two documents so you can see what changed. For structure rules use the JSON Schema Validator, and for pulling out one value use the JSONPath Tester. Related formats have their own tools: XML Formatter, YAML Formatter and SQL Formatter with the matching SQL Minifier.
Web code
The HTML Formatter, CSS Formatter and JavaScript Beautifier make minified code readable, while the HTML Minifier, CSS Minifier and JavaScript Minifier shrink it for delivery. Minifying removes whitespace and comments and, for JavaScript, can shorten names, so keep your original source and test the minified output. The HTML Live Viewer runs a snippet instantly and the iFrame Tester checks whether a page allows embedding.
Encoding and security checks
Use Base64 Encode / Decode and URL Encode / Decode for values that must travel safely in text or a link; remember that encoding is not encryption and hides nothing. The Hash Generator and the File Hash Checker compute checksums such as SHA-256 so you can verify a download or compare two files. The JWT Decoder shows the header and payload of a token and the JWT Signature Verifier checks a signature against a key you provide. The 2FA Authenticator generates time-based codes from a secret, and the SRI Hash Generator creates integrity attributes for scripts and styles.
Patterns, schedules and identifiers
Build and test patterns in the Regex Tester, and remember that regular expression flavours differ slightly between languages. The Cron Expression Parser explains a cron line in plain words and the Cron Expression Builder creates one from choices. Generate random identifiers with the UUID Generator, convert times with the Unix Timestamp Converter and change bases with the Number Base Converter.
Design and markup helpers
The Color Converter moves between HEX, RGB and HSL, the CSS Gradient Generator builds gradients with copyable code and the Meta Tag Generator writes SEO and social tags. Write documents in the Markdown Editor, build tables with the Markdown Table Generator, assemble query strings with the URL Query String Builder and inspect an image string with the Base64 Image Viewer.
Good habits
Use sample or anonymised data, check the result against your own test cases and keep the original text. If a tool says a value is invalid, read the message and position it gives before changing anything. For anything that touches production, repeat the check with the tools of your own stack.