Data Format Converter

Safely detect and convert JSON, YAML, TOML, XML, Excel, CSV, Markdown tables, ENV, query strings, code literals, arrays, and parentheses.

Input

Nested JSON user data — previews as JSON
YAML settings with a list — converts to JSON
TOML settings with a server section — converts to JSON
XML product data with an attribute — converts to JSON
CSV user table — converts to JSON
In-memory Excel user table — converts to JSON
Markdown Table status data — converts to JSON
ENV deployment values — converts to JSON
URL-encoded Query String filters — converts to JSON
Safe static JavaScript literal — converts to TypeScript
TypeScript static literal with an interface — converts to JavaScript
PHP associative array — converts to JSON
Python dict with True and None — converts to JSON
Go struct literal — converts to JSON
Array scalar list — converts to JSON
Parentheses scalar list — converts to Array
Open a supported text data or Excel file

Limits: up to 2,000,000 characters, file size 5 MB, output size 5 MB

Input: 0 characters / 0 B /Waiting for input
Output

Output: 0 characters / 0 B

Processing Notes

  • All data stays in your browser.
  • Code formats parse static literals only and never execute input.
  • Incompatible outputs stay disabled; the tool does not flatten data or perform lossy conversion.

Convert structured data safely

Parse one of 16 supported formats into a shared data model, preview it as a Tree, and export only to formats that can preserve the data without silent loss.

Supported formats

JSON, YAML, TOML, XML, Excel, CSV, Markdown Table, ENV, Query String, JavaScript, TypeScript, PHP, Python, Go, Array, and Parentheses.

Local browser processing

Parsing and conversion happen locally in your browser. Your input is not uploaded, and code-like input is parsed as static data without execution.

How to use it

Paste text or import a supported text file, then use Auto detection or choose the input format manually.

Resolve any ambiguous format before conversion and choose a compatible output format.

Adjust the available format settings, then review the Tree or Text output.

Copy the result or download it with the matching file extension.

FAQ

Does this tool execute JavaScript or other code?

No. Code formats accept only a strict whitelist of static literals and declarations.

Why are some output formats disabled?

Those formats cannot represent the current data without changing types or losing structure.

Why does automatic detection sometimes ask me to choose?

Some short inputs are valid in more than one format. The tool waits for confirmation instead of guessing.

Are comments and original formatting preserved?

No. The converter preserves data meaning, not comments, whitespace, or quote style.

Is my data uploaded?

No. Processing stays in your browser.

Related Tools