Developer Tools

Format and validate JSON, XML and YAML, decode JWTs, encode Base64, generate UUIDs and hashes, and test regular expressions — all in your browser.

32 tools in this category

JSON Formatter Paste JSON to indent it or find where it breaks. You can also sort the keys, which helps when comparing two responses. JSON Validator Find out whether your JSON is valid before an API rejects it, and see its top-level keys, depth and size. JSON Minifier Remove spaces and line breaks from JSON to send or store it more compactly, and see the size difference. JSON Viewer Open a large JSON document as a tree. Expand only the parts you need and search for a key or value. JSON Diff Checker Compare two JSON documents by their data, not their layout, and list what was added, removed or changed with its path. JSON Schema Generator Paste a sample document to get a starting JSON Schema. Review it afterwards, because one example can't show every allowed value. JSONPath Tester Try a JSONPath expression against your data and see which values it picks up, with the path to each one. XML Formatter Indent a one-line XML response or config file so the structure is visible. External entities are never loaded. XML Validator Check that your XML is well-formed and see its root element, element count and depth. It doesn't validate against a DTD or XSD. YAML Formatter Tidy YAML or switch between YAML and JSON. It covers everyday mappings and lists, so test complex files with your own parser too. JWT Decoder See the header, payload and expiry inside a token. Decoding only reads it; it doesn't check the signature. Base64 Encoder Turn text into Base64, including the URL-safe variant. Base64 is a way to carry data, not a way to hide it. Base64 Decoder Read what's inside a Base64 string as plain text, or as a hex dump if it isn't text. Useful for checking data URIs, email parts and API values. UUID Generator Make one ID or many for database rows, test data or file names. Version 4 is the usual choice. You can also add braces or switch to capitals. Regex Tester Try a pattern on real text and see every match and capture group highlighted. Add flags to ignore case or match across lines before you copy it into code. Unix Timestamp Converter Find out what date a number like 1700000000 stands for, or get the timestamp for a date. It reads seconds and milliseconds. Hash Generator Get the SHA fingerprint of any text in hex or Base64. For storing passwords, use bcrypt instead of a plain hash. HTML Entity Encoder Escape characters such as <, > and & so a page shows them as text instead of treating them as HTML. HTML Entity Decoder Turn entities like &amp; and &lt; back into the characters they stand for, for text copied from page source or a feed. SQL Formatter Break a long query into lines you can actually review, with keywords in upper or lower case and the indentation you prefer. SQL Minifier Put a query on one line to paste into code or a config file, with or without its comments. Keep the readable version for later edits. Regex Generator Start from a ready pattern for emails, URLs, dates, IP addresses and more, then test it on your own text. Regex Replace Tester See the result of a search and replace before running it on real files. Use $1 and $2 to reuse captured groups. Markdown Preview Write Markdown on one side, check how it renders, and copy the HTML when you're happy. A quick check for a README or a post before you publish it. Markdown to HTML Convert Markdown into an HTML fragment to paste into a CMS, or into a complete page. Check the output before publishing if your text uses unusual syntax. HTML to Markdown Move content from a web page into a README or docs. Check the result, since complex layouts don't carry over. .env Validator Spot duplicate keys, invalid names, empty values and quoting slips in a .env file before they break a deploy. .gitignore Generator Tick the languages, systems and editors you use and copy one combined .gitignore into your project. package.json Generator Fill in your project details and get a package.json with license, module type and common scripts. tsconfig.json Generator Pick the kind of project, such as Node, React or a library, and get a tsconfig.json to start from. Git Command Generator Choose a task, such as undoing a commit, and get the command, with a warning when it can lose work. GitHub Actions Workflow Generator Get a starting CI workflow for Node, Python, Go, Rust, Java or Docker to put in .github/workflows.

About Developer Tools

Everyday helpers for code and configuration: JSON, XML, YAML and SQL formatting and validation, Base64 and HTML entity conversion, regular expression testing, and generators for files such as .gitignore and tsconfig.

Decoding is not verifying. Reading a JWT or a Base64 string shows its contents, but says nothing about whether it can be trusted.

Common tasks

Developer Tools: common questions

Why is my JSON invalid when it works in JavaScript?
JSON is stricter than a JavaScript object: keys and strings need double quotes, and trailing commas and comments are not allowed.
Is Base64 a form of encryption?
No. It is an encoding that anyone can reverse. Do not use it to protect passwords or keys.
Can I use a generated configuration file as it is?
Treat it as a starting point. Check versions, paths and rules against your own project before committing it.

Other Categories