Format & validate: 60 free online tools
These tools tidy up and check code and data. Paste in messy JSON, SQL, XML or YAML, then format it, find the error or shrink it. Everything runs in your browser, so nothing is uploaded.
- JSON FormatterFV-01Format, validate and minify JSON. Big numbers stay exact.
- SQL FormatterFV-02Format or minify SQL for T-SQL, PostgreSQL, MySQL and more.
- XML FormatterFV-03Format, validate and minify XML. Errors point to the line.
- JSON ValidatorFV-04Check JSON and see the line, column and likely cause of any error.
- JSON MinifyFV-05Remove whitespace from JSON and see how many bytes you saved.
- JSON ViewerFV-06See any JSON as an indented tree with the path and type of every value.
- JSON DiffFV-07Compare two JSON documents by meaning and list added, removed and changed paths.
- HTML FormatterFV-08Indent and tidy HTML, or compress it by removing comments and extra whitespace. Embedded CSS and JavaScript too.
- CSS FormatterFV-09Format CSS with clean indentation, or minify it by removing comments and spaces.
- Column ExtractorFV-10Pull one or more columns out of comma, tab, semicolon, pipe or space separated text.
- XML MinifierFV-11Remove the whitespace between XML tags and see the bytes saved.
- SQL MinifierFV-12Strip comments and extra whitespace from SQL without touching strings or names.
- Markdown Table GeneratorFV-13Turn CSV or TSV into a GitHub Markdown table, or a Markdown table back into CSV.
- JSON to C#FV-14Generate C# classes with properties and JSON attributes from a JSON sample.
- JSON to PythonFV-15Generate Python dataclasses, TypedDicts or Pydantic models from a JSON sample.
- JSON to JavaFV-16Generate Java classes with getters and setters, or records, from a JSON sample.
- JSON to KotlinFV-17Generate Kotlin data classes, with optional kotlinx.serialization annotations, from JSON.
- JSON to PHP ArrayFV-18Turn JSON into a PHP array literal with short [] syntax.
- JSON to ZodFV-19Generate a Zod schema and inferred TypeScript type from a JSON sample.
- JSON SorterFV-20Sort the keys of a JSON document alphabetically at every level.
- JSONPath TesterFV-21Run a JSONPath expression against JSON and see the matching values and their paths.
- JSON FixerFV-22Fix common JSON mistakes such as trailing commas, single quotes and unquoted keys.
- JSON to RustFV-23Generate Rust structs with serde derives from a JSON sample.
- JSON DeserializeFV-24Parse JSON and see its hierarchy: every value on its own line with its path and type.
- JSON Multiline StringFV-25Show JSON string values over several lines, or split long strings into shorter pieces.
- Unstringify JSONFV-26Turn an escaped JSON string like "{\"a\":1}" back into readable JSON, or stringify JSON into one.
- JSON DecodeFV-27Decode JSON into readable text: unescape \u sequences, unwrap a JSON string, and pretty-print.
- JSON to StringFV-28Turn JSON into a quoted string literal you can paste into code, or turn such a string back into JSON.
- JSONify StringFV-29Turn plain text, lines or key=value pairs into valid JSON: a string, an object or an array.
- String to JSONFV-30Turn a string that contains JSON into formatted JSON, including escaped text and single-quoted input.
- Avro Schema FormatterFV-31Format an Avro schema, check it against the Avro rules, or see it as an outline.
- C FormatterFV-32Format C code with clang-format: indent size, brace style and line width.
- JSON5 ValidatorFV-33Check JSON5 text and see the line and column of the first error.
- YAML BeautifierFV-34Format YAML with consistent indentation while keeping comments and anchors.
- XML DiffFV-35Compare two XML documents line by line, ignoring indentation and attribute order.
- XPath TesterFV-36Run an XPath expression against XML and see the matching nodes or value.
- SQL Code GeneratorFV-37Generate SELECT, INSERT, UPDATE and DELETE statements from a table and its columns.
- SQL Table GeneratorFV-38Write a CREATE TABLE statement from a plain list of columns, for five databases.
- Delimited Text ExtractorFV-39Extract or remove columns from comma, tab, semicolon, pipe, colon or space separated text.
- JSON CleanerFV-40Fix messy JSON and tidy it: repair syntax slips, drop null and empty values, trim strings and sort keys.
- Sort XML OnlineFV-41Sort the elements and attributes of an XML document alphabetically and get readable, indented XML back.
- C++ FormatterFV-42Format C++ code with clang-format: style, indent and line width.
- C# ViewerFV-43Format C# code with clang-format, or strip comments and spaces.
- Java ViewerFV-44Format Java code with clang-format, or strip comments and spaces.
- Excel ViewerFV-45Open an .xlsx file and look through any sheet as a grid with column letters and row numbers. Nothing to install.
- JSON EditorFV-46Edit JSON with live validation, a collapsible tree view and one-click Format and Minify. Big numbers stay exact.
- XML EditorFV-47Edit XML with a well-formedness check that points to the line and column of the first error, a tree view and Format.
- YAML EditorFV-48Edit YAML with live validation, line and column errors, Format, and a JSON view of what the YAML means.
- Bar Graph MakerFV-49Paste a table and get a bar graph as SVG or PNG. Grouped or stacked, vertical or horizontal, negative values included.
- Line Graph MakerFV-50Paste a table and draw one or more lines. Download the line graph as SVG or PNG, or copy the SVG code.
- Pie Chart MakerFV-51Paste labels and numbers, get a pie chart with percentages. Download as SVG or PNG.
- Doughnut Chart MakerFV-52Turn labels and numbers into a doughnut chart with the total in the middle. Save as SVG or PNG.
- Scatter Plot MakerFV-53Paste X and Y columns to plot points, add a least squares trend line and download the scatter plot as SVG or PNG.
- JSON VisualizerFV-54Paste JSON and see its structure as a tree of linked boxes, colored by type. Download the graph as SVG or PNG.
- JSON Syntax HighlightingFV-55Color JSON keys, strings, numbers and literals. Checks the JSON first and can pretty print or minify it.
- XML HighlighterFV-56Color XML tags, attributes, values, comments and CDATA, as written or neatly indented.
- JSON NavigatorFV-57Browse JSON as a collapsible tree and click any key to get its path in JSONPath, JavaScript or JSON Pointer form.
- YAML ViewerFV-58See YAML as a collapsible tree with types, and click any key to get its path.
- CSV ViewerFV-59Open or paste a CSV file and read it as a table. Click a column header to sort.
- MXML ViewerFV-60Read Flex MXML as a collapsible, highlighted element tree, or as neatly indented source.