Data Conversion Tools

← Back to All Tools

📊 Data Conversion Tools

Convert between CSV, JSON, XML, YAML, units, and number bases — all in your browser.

CSV ↔ JSON Converter

How to Use CSV ↔ JSON

CSV → JSON

  • Paste CSV text where the first row contains headers.
  • Quoted fields (e.g. "San Francisco") with commas inside are handled correctly.

JSON → CSV

  • Paste a JSON array of objects and click JSON → CSV.
  • Values containing commas or quotes are automatically escaped.
name,age,city
Alice,30,NYC
Bob,25,"San Francisco"

JSON → Table Viewer

How to Use JSON → Table Viewer

Rendering

  • Paste a JSON array of objects. Each object becomes a table row; keys become column headers.
  • Click any column header to sort ascending / descending.
  • Row count is displayed above the table.
[
  {"name":"Alice","age":30,"city":"NYC"},
  {"name":"Bob","age":25,"city":"LA"}
]

XML ↔ JSON Converter

How to Use XML ↔ JSON

XML → JSON

  • Paste valid XML. Attributes are stored under an @attributes key.
  • Text content appears as #text when mixed with child elements.

JSON → XML

  • Paste a JSON object. Keys become element names; @attributes keys become XML attributes.
<root>
  <item id="1">
    <name>Alice</name>
  </item>
</root>

YAML ↔ JSON Converter

How to Use YAML ↔ JSON

YAML → JSON

  • Supports key-value pairs, nested objects (indentation), arrays (- item), strings, numbers, booleans (true/false), and null.
  • Quoted strings are preserved as strings.

JSON → YAML

  • Paste valid JSON and receive clean YAML output.
name: Alice
age: 30
hobbies:
  - reading
  - hiking

JSON → CSV / TSV (Flatten & Export)

How to Use JSON → CSV/TSV

Flattening

  • Nested objects are flattened with dot notation: address.city, address.zip.
  • Arrays are joined with semicolons.

Options

  • Delimiter: Choose comma, tab, or pipe.
  • Headers: Toggle header row on/off.
name,address.city,address.zip
Alice,NYC,10001
Bob,LA,90001

Unit Converter

How to Use Unit Converter

Categories

  • Data Size: Bytes, KB, MB, GB, TB, PB
  • Time: Milliseconds, Seconds, Minutes, Hours, Days, Weeks, Years
  • Length: mm, cm, m, km, in, ft, mi
  • Weight: mg, g, kg, lb, oz
  • Temperature: Celsius, Fahrenheit, Kelvin

Buttons

  • Convert — single from → to conversion.
  • Show All — display the value in every unit of the chosen category.

Number Base Converter

How to Use Number Base Converter

Supported Bases

  • Decimal (10) — standard numbers
  • Binary (2) — 0s and 1s
  • Octal (8) — digits 0-7
  • Hexadecimal (16) — digits 0-9, A-F

Large Numbers

  • Supports BigInt for arbitrarily large numbers.
  • All four bases are shown simultaneously for any input.
Input: 255 (Decimal)
Decimal:     255
Binary:      11111111
Octal:       377
Hexadecimal: FF