Developer tools
Free tools for working with JSON.
Format, convert, compare and decode data in seconds. Everything runs in your browser.
- JSON Viewer & Formatter Format, validate, minify and explore JSON as a collapsible tree.
- JSON ↔ CSV Converter Turn JSON arrays into spreadsheet-ready CSV, or CSV back into JSON.
- JSON ↔ YAML Converter Convert between JSON and YAML for Kubernetes, Docker and CI configs.
- JSON Diff Compare two JSON documents and see every added, removed and changed value.
- JSON to TypeScript Generate TypeScript interfaces or types from a JSON example.
- JSON to Go Struct Generate Go structs with json tags from a JSON example.
- JSON to Python Generate Python dataclasses, Pydantic models or TypedDicts from JSON.
- JSON Schema Generator Create a JSON Schema (draft 2020-12) from example JSON, with required keys and formats.
- JSONPath Tester Query JSON with JSONPath expressions and filters, and see matches live.
- JSON Escape / Unescape Turn text into a JSON string literal, or unescape a JSON string back to text.
- JWT Decoder Decode a JSON Web Token’s header and claims, and check if it has expired.
- Base64 Encode / Decode Encode text or files to Base64, or decode Base64 back to text. UTF-8 and URL-safe.
- URL Encode / Decode Percent-encode or decode text for URLs, and break a URL into its parts.
- Unix Timestamp Converter Convert Unix timestamps to dates and dates to timestamps, in seconds or milliseconds.
- QR Code Generator Make QR codes for links, text, Wi-Fi logins, email and JSON. Download PNG or SVG.
Private by design
Every tool on 2JSON runs entirely in your browser with JavaScript. The JSON, CSV, YAML, tokens and text you paste are never uploaded to a server, logged or stored, which makes the tools safe to use with API responses, configuration files and other internal data.
Missing a tool?
New tools are added regularly. If there is a converter, formatter or decoder you would like to see, send a suggestion.