Converters
Convert between JSON, CSV, XML, YAML, PHP arrays, TypeScript interfaces, SQL and more with validation and downloadable results.
Converters tools
JSON to CSV
Convert JSON arrays to CSV online with automatic column detection, nested object flattening and custom delimiters. Open the result in Excel or Sheets.
CSV to JSON
Convert CSV to a JSON array online with header detection, type inference and delimiter auto-detection. Turn spreadsheet exports into data for APIs and code.
JSON to XML
Convert JSON to well-formed XML online with a configurable root element and attribute support. Validate the input and download the XML file.
XML to JSON
Convert XML to JSON online, keeping attributes and turning repeated elements into arrays. Malformed XML is reported with its location.
JSON to YAML
Convert JSON to clean, human-readable YAML online. Turn API responses and package files into config for Kubernetes, Docker Compose or CI pipelines.
YAML to JSON
Convert YAML documents to formatted JSON online with syntax validation. Errors are reported by line, so broken indentation is quick to find and fix.
JSON to PHP Array
Convert JSON to a PHP array literal online, using short [] or long array() syntax. Paste API responses straight into PHP code, tests and config files.
JSON to TypeScript
Generate TypeScript interfaces from JSON online, including nested objects and arrays. Paste an API response and copy ready-to-use types into your code.
JSON to Go
Convert JSON to Go structs online with json tags, pointers for null values and omitempty for optional keys. Paste an API response and copy the types.
JSON to Java
Generate Java records or classes with getters and setters from JSON online, with Jackson @JsonProperty annotations and List types for arrays.
JSON to C#
Convert JSON to C# classes or records online with System.Text.Json [JsonPropertyName] attributes, nullable types and List properties for arrays.
JSON to Python
Generate Python dataclasses or Pydantic models from JSON online, with Optional types, nested classes and aliases for camelCase keys.
JSON to Kotlin
Convert JSON to Kotlin data classes online, with kotlinx.serialization @Serializable and @SerialName annotations and nullable types for missing keys.
JSON to Rust
Generate Rust structs from JSON online with serde Serialize and Deserialize derives, snake_case fields renamed to JSON keys and Option for nulls.
JSON to Dart
Convert JSON to Dart classes for Flutter online, with fromJson and toJson methods or json_serializable annotations, null safety and nested models.
JSON Schema Generator
Generate a JSON Schema from example JSON online. Arrays are merged into optional and nullable fields, and formats like date-time, email and uuid are detected.
cURL to Code
Convert curl commands to Python requests, JavaScript fetch, axios, Go, PHP or Java code online. Headers, JSON bodies, forms, auth and timeouts carry over.
JSON to SQL Insert
Convert a JSON array of objects into SQL INSERT statements online for MySQL, PostgreSQL or SQLite. Seed databases and test fixtures in seconds.
HTML to PDF Converter
Convert HTML to a downloadable PDF online with live preview, paper sizes, orientation, margins, page breaks and page numbers. Your file is not stored.
Markdown to HTML
Convert Markdown to clean, sanitised HTML online, ready to paste into any page or CMS. Supports GitHub-flavoured Markdown with tables and code blocks.
Number Base Converter
Convert numbers online between binary, octal, decimal, hexadecimal and any base from 2 to 36, with BigInt precision for very large values.
Color Converter
Convert colours online between HEX, RGB, HSL and CSS formats with a live preview. Pick a colour or paste a HEX, RGB or HSL value to get every format.
PX to REM Converter
Convert px to rem and rem to px online with any root font size, see a table of common sizes, and convert every px value in a CSS snippet at once.
Binary to Decimal Converter
Convert binary to decimal online with the working shown step by step. Handles fractions such as 101.101, signed two's complement values and whole lists at once.
Decimal to Binary Converter
Convert decimal numbers to binary online and see the division by 2 step by step. Supports fractions, 8, 16, 32 and 64-bit two's complement and bulk lists.
Hex to Decimal Converter
Convert hexadecimal to decimal online with each digit's place value shown. Reads 0x prefixes, fractions and signed two's complement values such as FF9C = -100.
Decimal to Hex Converter
Convert decimal to hexadecimal online with the division by 16 shown step by step. Choose uppercase, a 0x prefix and a bit width for negative numbers.
Binary to Hex Converter
Convert binary to hexadecimal online by grouping the bits in fours, shown step by step. Works with long bit strings, binary fractions and whole lists at once.
Hex to Binary Converter
Convert hex to binary online: every hex digit becomes four bits, shown step by step. Group the bits by nibble, add a 0b prefix or convert a whole list.
JSON to Excel
Convert JSON to a real Excel .xlsx file online: nested objects become columns, each array can become its own sheet and the header row is frozen. No upload.
Excel to JSON
Convert Excel .xlsx files to JSON online: pick one sheet or all, use the first row as keys and turn Excel dates into ISO dates. The file stays in your browser.
Split CSV & Excel Files
Split a large CSV or Excel file into smaller files of 500, 1,000 or more rows, or into up to 15 equal parts, with the header in every file. Nothing is uploaded.
SVG to JSX
Convert SVG to JSX or a React component online: attributes are camelCased, editor metadata is removed and props can be passed to the <svg>.
HTML to JSX
Convert HTML to JSX for React online: class becomes className, inline styles become objects, SVG attributes are camelCased and void tags self-close.
Guides and tutorials
- Programming Languages
Binary, Octal, Decimal and Hex: Number Bases for Programmers
How number bases work, converting binary, octal, decimal and hex by hand and in code, where each one appears, and the parseInt and precision traps to avoid.
· 5 min read
- Web Development
CSS Gradients: Linear, Radial and Conic with Practical Examples
Learn CSS gradients by example: angles, colour stops, hard stops, stripes, radial glows, conic charts, gradient text and borders, and smoother oklch blends.
· 5 min read
- JSON & Data Formats
How to Convert Nested JSON to CSV (Flattening Explained)
Turn nested JSON into a clean CSV for Excel or Google Sheets: dotted column names, arrays, missing keys, quoting and leading zeros, with working Python code.
· 5 min read
- JSON & Data Formats
How to Generate TypeScript Types from JSON API Responses
Turn a JSON sample into TypeScript interfaces, then fix what a generator can't know: nullable fields, optional keys, unions, dates and runtime validation.
· 6 min read
- Code Quality & Workflow
SQL Formatting Best Practices: Writing Queries Your Team Can Read
A practical SQL style guide: clause-per-line layout, keyword case, aliases, CTEs instead of nesting, and the logic bugs that clear formatting helps you spot.
· 6 min read
- Programming Languages
TypeScript Strict Mode Explained: Every Flag and the Bugs It Catches
What "strict": true turns on, the real compiler error for each flag, extra checks worth enabling, and a step-by-step plan for migrating an existing codebase.
· 5 min read
About converters tools
Data converters move the same data between formats: JSON from an API into a CSV for a spreadsheet, a YAML config into JSON, or a JSON sample into TypeScript interfaces or SQL INSERT statements. Invalid input is reported as an error instead of being converted into something half-right.
Every converter except HTML to PDF runs in your browser, and results can be copied or downloaded as files.