πŸ”„
πŸ”Œ

Convert CSV to JSON for an API

Turn a spreadsheet export into JSON your code or API can consume.

Nid oes angen mewngofnodiMae ffeiliau'n aros yn breifat

Drop a CSV file (or paste below)

CSV, TSV, TXT dim cyfyngiad maint ffeil

Pori ffeiliau
JSON
β€”
Delimiter

πŸ’‘ A proper RFC 4180 parser β€” handles quoted fields, commas and line breaks inside quotes, and escaped quotes. With "first row is a header" on, you get an array of objects; off, an array of arrays. Everything runs in your browser.

APIs tips

πŸ”Œ

Keep "first row is a header" on to get an array of objects keyed by column name β€” ideal for APIs.

πŸ”’

Turn on type conversion so numbers and booleans arrive as real JSON types, not strings.

πŸ“‹

Copy the JSON straight into a request body or fixture.

πŸ”’

Data is parsed in your browser β€” never uploaded.

Sut Mae'n Gweithio

1
Dewiswch Ffeil
Drop your file into the tool above. It stays entirely on your device β€” nothing is sent to any server.
2
Proses
The tool processes your data instantly in your browser using JavaScript. No server, no waiting.
3
Lawrlwythwch
Get your result instantly. Nothing is stored after you leave the page β€” complete privacy.

Pam defnyddio ein un ni?

βœ“Hollol rhad ac am ddim - dim costau cudd, byth
βœ“Nid oes angen cyfrif, e-bost na mewngofnodi
βœ“Nid yw ffeiliau byth yn gadael eich dyfais
βœ“Dim cyfyngiadau maint ffeil o gwbl
βœ“Dim dyfrnodau ar unrhyw allbwn

Also check out…

Cwestiynau Cyffredin