CSV to JSON Converter
Paste CSV (or a copy from Excel or Google Sheets) and get JSON instantly. The first row becomes the keys, and numbers and true/false are detected.
🔒 Everything you type stays in your browser. Nothing is sent to a server.
By Shah Rukh, software developer · Last updated:
How CSV is converted
With a header row, each line becomes an object whose keys come from the header: [{"name": "Ayesha", "age": 24, "city": "Lahore"}]. Without one, each line becomes an array.
The parser follows RFC 4180: fields in double quotes can contain commas, line breaks and escaped quotes (""). The separator (comma, semicolon or tab) is detected automatically, so European CSVs and pasted spreadsheet data work too.
Need the reverse? Use JSON to CSV.
Frequently asked questions
Can I paste from Excel?
Yes. Copied cells are tab-separated and are detected automatically.
Why are my numbers strings?
Tick “Detect numbers and booleans”. Leading-zero values like 007 stay as text on purpose.
Is there a row limit?
No fixed limit. Tens of thousands of rows work in a modern browser.
Related tools
QR Code Generator
Free QR codes for links, Wi-Fi, text and contacts.
Discord Server Template
Design channels and roles, then build them in one click.
Discord Moderation Bot
Make your own mod bot with kick, ban, mute and filters.
Discord Bot Maker
Build a custom Discord bot without coding.
Discord Welcome Bot
Custom welcome messages and auto-roles for new members.
Color Picker & Palette
HEX, RGB and HSL codes plus matching palettes.