Config & Serialization
Convert between every common configuration and data-interchange format — YAML, TOML, XML, JSON, CSV, .env, Java .properties and INI — with free browser-based tools. The matrix runs in both directions, so you can migrate a Spring Boot config, flatten a document into a spreadsheet or generate SQL from a CSV export without uploading anything.
23 free config & serialization — all browser-based
YAML to JSON
Converts YAML data into a structured JSON format. This tool helps developers work seamlessly between YAML and JSON-based configurations..
TOML to JSON Converter
Converts TOML 1.0 into clean, indented JSON with live two-way validation.
TOML to YAML Converter
Converts TOML configuration files into YAML 1.2 using @iarna/toml for parsing and js-yaml for emission, preserving nested tables, arrays of tables, inline tables, and datatypes (string, int, float, bool, datetime), useful for migrating Cargo and pyproject configs to YAML, translating between CI config formats, and normalizing polyglot configuration tooling..
XML JSON Converter
Converts XML documents to JSON and back, preserving attributes and text content, useful for working with SOAP APIs, RSS feeds, and legacy config formats..
.env File Parser
Parses .env file contents into a table with masked secret values, duplicate-key detection, and converts to JSON or shell export statements..
JSON to TOML Converter
Converts JSON documents into TOML v1.0.0 using @iarna/toml, turning nested objects into tables and arrays of objects into arrays of tables ([[bin]]), while reporting the null values that TOML cannot represent, useful for migrating package manifests and service configs from JSON to Cargo.toml, pyproject.toml and Netlify or Hugo configuration..
YAML to TOML Converter
Converts YAML 1.2 documents into TOML v1.0.0 by parsing with js-yaml and emitting with @iarna/toml, expanding anchors and aliases, preserving timestamps as TOML offset date-times, and dropping nulls that TOML cannot express, useful for moving CI pipelines and application settings from YAML to TOML-based tooling..
CSV to YAML Converter
Converts CSV data into a YAML 1.2 sequence of mappings using the header row as keys, honoring RFC 4180 quoting for embedded commas, newlines and doubled quotes, with optional scalar inference that turns bare numbers, booleans and empty cells into real YAML types instead of strings, useful for seeding fixtures, Ansible vars and Kubernetes ConfigMap data from spreadsheets..
YAML to CSV Converter
Converts a YAML sequence of mappings into RFC 4180 CSV, flattening nested mappings into dotted column names, collapsing scalar lists into a single pipe-joined cell, and taking the union of every record's keys as the header row, useful for loading YAML fixtures into spreadsheets, diffing config lists and feeding YAML data into BI or SQL import tools..
XML to YAML Converter
Converts XML documents into YAML 1.2 using the browser's DOMParser, collapsing repeated sibling elements into YAML sequences, preserving attributes under @attributes and mixed content under #text, and surfacing parser errors with their position, useful for migrating legacy XML configuration, SOAP payloads and Maven or Android manifests into YAML-based tooling..
YAML to XML Converter
Converts YAML 1.2 documents into indented XML 1.0 with a configurable root element, repeating the parent tag for each sequence item, escaping ampersands and angle brackets, and sanitizing keys that are not legal XML names, useful for feeding YAML-authored data into XML-only APIs, XSLT pipelines and enterprise integration tooling..
CSV to XML Converter
Converts CSV rows into XML 1.0 with configurable root and row element names and a choice between child elements or attributes for each column, parsing RFC 4180 quoting and escaping ampersands and angle brackets so the output validates, useful for building XML import files for ERP systems, sitemaps and legacy SOAP endpoints from spreadsheet data..
XML to CSV Converter
Converts XML documents into RFC 4180 CSV by treating each child of the root as a row, flattening nested elements into dotted column names, exposing attributes as @name columns, indexing repeated siblings, and building the header from the union of every row's paths, useful for loading XML exports, RSS feeds and SOAP responses into spreadsheets and databases..
CSV to SQL Insert Generator
Generates SQL INSERT statements from CSV data for PostgreSQL, MySQL, SQLite and SQL Server, applying each dialect's identifier quoting (backticks, double quotes or square brackets), inferring column types for an optional CREATE TABLE, escaping single quotes, mapping empty cells to NULL, and chunking multi-row VALUES lists to stay under packet limits..
.env to YAML Converter
Converts a .env file into YAML, parsing KEY=value pairs with quoted values, escaped newlines, export prefixes and comments, and optionally expanding double-underscore keys (DB__HOST) into nested YAML mappings, useful for moving twelve-factor environment configuration into Kubernetes ConfigMaps, docker-compose environment blocks and Helm values files..
JSON to .env Converter
Converts a JSON configuration object into .env format, flattening nested objects into SCREAMING_SNAKE_CASE keys with a configurable separator, serializing arrays and objects that cannot be flattened as compact JSON, and quoting values that contain spaces, newlines or the hash character so the file parses correctly..
Properties to YAML Converter
Converts a Java .properties file into YAML by expanding dotted keys into nested mappings and collapsing indexed keys (servers[0].host) into sequences, honoring comments, colon separators, line continuations and escaped Unicode, useful for migrating a Spring Boot application.properties to application.yml without rewriting the hierarchy by hand..
INI to JSON Converter
Converts INI and config files into JSON, grouping keys under their [section] headers, supporting subsections written as [a.b], both equals and colon separators, semicolon and hash comments, quoted values and duplicate keys collapsed into arrays, useful for reading php.ini, systemd units, tox.ini, .gitconfig and legacy application settings programmatically..
YAML Formatter and Validator
Formats and validates YAML 1.2 with js-yaml, normalizing indentation, quoting and line width, optionally sorting mapping keys and forcing quotes, and reporting parse errors with the exact line and column, useful for cleaning up hand-edited Kubernetes manifests, GitHub Actions workflows and docker-compose files before they reach CI..
XML Formatter and Validator
Pretty-prints or minifies XML with configurable indentation, checking well-formedness through the browser's XML parser and reporting the failure position, preserving attribute order, CDATA sections, comments and the XML declaration, useful for reading SOAP responses, Maven POMs, Android manifests and RSS feeds that arrive as a single unreadable line..
TOML Formatter and Validator
Validates and normalizes TOML v1.0.0 with @iarna/toml, rewriting the document in canonical form so tables, arrays of tables and inline tables are grouped and ordered consistently, and reporting syntax errors with their line, useful for tidying Cargo.toml, pyproject.toml, Netlify and Hugo configuration files..
CSV Formatter and Validator
Formats and validates delimited data by auto-detecting the delimiter (comma, semicolon, tab or pipe), re-quoting fields per RFC 4180, optionally aligning columns into a readable fixed-width view, and flagging ragged rows that have more or fewer fields than the header, useful for debugging exports before a database import fails halfway through..
YAML to .env Converter
Converts a YAML configuration file into .env format, flattening nested mappings into SCREAMING_SNAKE_CASE variables with a configurable separator, serializing sequences as compact JSON or a delimited string, and quoting values containing spaces, newlines or a hash, useful for turning a Helm values file or docker-compose environment block into a local .env..
Choosing between YAML, TOML and JSON
YAML and TOML are human-friendly formats favored by CI configs (GitHub Actions, Cargo, pyproject). JSON is machine-friendly and ubiquitous in APIs.
Use TOML to YAML or YAML to JSON to migrate configs between tools without rewriting them by hand.
Parsing .env files
The .env File Parser reads KEY=value pairs (including quoted values, comments and multiline) into a structured view you can copy as JSON.
Moving tabular data between CSV, YAML and XML
CSV is a table; YAML and XML are trees. Converting CSV to YAML or CSV to XML is lossless because each row becomes one record, and the header row becomes the keys or element names.
Going the other way is lossy by nature: YAML to CSV and XML to CSV flatten nested structures into dotted column names (contact.email) and collapse scalar lists into a single cell, so review the header before importing the result into a spreadsheet or database.
What each format cannot represent
TOML has no null type, so JSON to TOML and YAML to TOML drop null-valued keys and report how many were removed.
XML has no native numbers or booleans — every value is text — so a round trip through XML loses type information unless a schema restores it.
CSV has no types either, which is why CSV to YAML offers scalar inference to turn bare numbers, true/false and empty cells back into real YAML types.
Frequently asked questions
Can I convert TOML with nested tables?
Yes. The TOML converters handle nested tables, arrays of tables, inline tables and datetimes via the @iarna/toml parser.
Are comments preserved when converting?
Comments are not preserved across format conversions because JSON does not support them. The structured data is converted faithfully.
Which conversions are lossless?
JSON, YAML and TOML carry the same core types, so conversions between them are lossless apart from comments and TOML's missing null. Anything that ends in CSV is lossy, because a table cannot express nesting — nested keys are flattened into dotted column names instead.
Do these converters upload my configuration files?
No. Every converter in this category runs entirely in your browser using JavaScript — js-yaml, @iarna/toml and the built-in DOMParser. Nothing is sent to a server, which matters when the file holds credentials or internal hostnames.