Convert structured data, encode text and binary files, or generate typed classes from sample JSON.
Using the Data & Developer Converter
Convert structured data, encode text and binary files, or generate typed classes from sample JSON.
How do I convert a table into JSON for an API?
Choose CSV as the source and JSON as the output, then review the field names and a few records. Use JSON Formatter to inspect the generated structure before importing it.
Supported input and output formats
- JSON
- XML, YAML, CSV, TOML, SQL, TypeScript, Java class, C# class, Python class
- XML
- JSON, YAML
- YAML
- JSON, XML, TOML
- TOML
- JSON, YAML
- CSV
- JSON, SQL
- HTML
- Markdown, JSX, HTML entities
- Markdown
- HTML
- CSS
- SCSS
- SCSS
- CSS
- Text (TXT)
- Base64, URL-encoded text, HTML entities, BINARY, HEX, UNICODE, ASCII, QR
- Base64
- Text (TXT), Image, PDF
- JPG
- Base64
- PNG
- Base64
- WebP
- Base64
- Base64
- URL-encoded text
- Text (TXT)
- HTML entities
- Text (TXT)
- BINARY
- Text (TXT), DECIMAL
- HEX
- Text (TXT), DECIMAL
- UNICODE
- Text (TXT)
- ASCII
- Text (TXT)
- Unix timestamp
- DATE
- DATE
- Unix timestamp
- DECIMAL
- BINARY, HEX
- OCTAL
- DECIMAL
Before you convert
Upload a file or paste text for compatible formats. Review the output before importing it elsewhere. SQL import reads literal values without executing uploaded statements.
Topics
- Data & Developer Converter
- File formats