Convert tools
Translate between the data formats and notations that come up constantly.
-
Convert a Unix timestamp to a date
Convert a Unix timestamp to a human-readable date, or a date back to a timestamp, in your browser.
-
Convert TOML to JSON and JSON to TOML
Convert TOML config files to pretty JSON and JSON back to TOML, with tables, arrays of tables and dates. Parse errors show the line number, entirely in your browser.
-
Convert .env to JSON and JSON to .env
Convert .env files to a JSON object and flat JSON back to .env, handling quoted values, export prefixes and comments. Runs entirely in your browser, so secrets never leave it.
-
Generate TypeScript interfaces and PHP classes from JSON
Paste JSON and get TypeScript interfaces or PHP classes with typed properties, including nested objects and arrays, instantly in your browser.
-
Convert text case online
Convert text to camelCase, PascalCase, snake_case, kebab-case, Title Case, UPPER, and lower, instantly in your browser.
-
Convert colors between HEX, RGB, and HSL
Convert a color between HEX, RGB, and HSL instantly in your browser, with a live preview.
-
Convert numbers between bases
Convert a number between binary, octal, decimal, and hexadecimal instantly in your browser.
-
Convert between CSV and JSON online
Convert CSV to JSON or JSON to CSV instantly in your browser, with full quoted-field support.
-
Convert between YAML and JSON online
Convert YAML to JSON or JSON to YAML instantly in your browser, covering mappings, sequences, and scalars.
-
Convert between XML and JSON online
Convert XML to JSON or JSON to XML instantly in your browser, using your browser's own XML parser.
About Convert tools
CSV, JSON, YAML, and XML convert between each other, which is most of the glue work in moving data between a spreadsheet, an API, and a config file. Timestamps convert between Unix epoch and readable dates — and the recurring bug there is seconds versus milliseconds, a factor of a thousand that turns 2026 into 1970.
The rest are smaller and no less frequent: text case conversion, colour values between HEX, RGB, and HSL, and numbers between decimal, hexadecimal, binary, and octal. Conversions are structural, so a document that will not convert is usually telling you it was malformed to begin with — format it first to find out where.