Data Format Converter
Safely detect and convert JSON, YAML, TOML, XML, Excel, CSV, Markdown tables, ENV, query strings, code literals, arrays, and parentheses.
Input
Limits: up to 2,000,000 characters, file size 5 MB, output size 5 MB
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
Excel to Array
Convert Excel or CSV data into Array, JSON, code, table, SQL, YAML, ENV, or XML output.
JSON Parser & Converter
Format, minify, repair, and convert JSON to TypeScript, JavaScript, PHP, Python, Go, YAML, TOML, ENV, CSV, Markdown, XML, and more.
Text Diff Checker
Compare two inputs like git diff and list additions, removals, and changes. Supports text, JSON, Array, Parentheses, HTML Table, JS / TS / PHP / Python / Go data formats, CSV, TSV, YAML, XML, Query String, and ENV.
Time Converter
Convert Unix timestamps and date strings between source and target time zones, view common formats, and adjust days, hours, minutes, or seconds.
Code Editor
A lightweight code editor with syntax highlighting, preview, find and replace, formatting, local tab management, and practical shortcuts.