Skip to content

Formatters & config

Format code and convert XML, YAML, TOML, INI and environment configuration data.

15 tools in this category. Every tool runs in the browser and needs no sign-up.

XML Formatter

Indent well-formed XML for reading while preserving mixed text content and xml:space settings.

YAML Formatter

Parse and format YAML with two-space indentation while retaining document comments where supported.

TOML Formatter

Parse TOML and output consistently formatted tables and values.

CSS Formatter

Format CSS with consistent indentation using Prettier in your browser.

JavaScript Formatter

Format JavaScript and JSX with Prettier without executing the code.

HTML Formatter

Format HTML source with Prettier while preserving its parser’s whitespace semantics.

JSON to ENV

Convert a flat JSON object to quoted environment assignments.

ENV to JSON

Parse simple dotenv assignments into a JSON object of strings.

INI to JSON

Convert INI assignments and single-level sections to JSON string values.

JSON to INI

Convert a JSON object with scalar values and one level of sections into INI.

XML → JSON

Convert XML files to JSON format for easier data processing and analysis.

YAML → JSON

Transform YAML files to JSON format to achieve interoperability between different data formats.

YAML → TOML

Convert YAML to TOML for creating concise and easy-to-maintain configuration files.

TOML → JSON

Convert TOML to JSON in your browser: tables, arrays of tables and dates, with clear errors for duplicate keys and numbers JSON cannot hold. Handy for Cargo.toml, pyproject.toml and wrangler.toml.

TOML → YAML

Convert TOML to YAML to represent configuration data in a diverse manner.