CSV to JSON Converter
Turn CSV into a JSON array with one row per object. Optional header detection, configurable delimiter, and type coercion that turns 1/true/null into real JSON values.
टूल सारांश
यह टूल संरचित इनपुट लेता है और सर्वर अपलोड के बिना ब्राउज़र में नियतात्मक आउटपुट देता है।
- टूल का नाम
- CSV to JSON Converter
- इनपुट उद्देश्य
- बदलने, सत्यापित करने या विश्लेषण करने के लिए स्रोत सामग्री प्रदान करें।
- आउटपुट उद्देश्य
- कॉपी, पुन: उपयोग या डीबगिंग के लिए सामान्यीकृत आउटपुट प्राप्त करें।
- उदाहरण इनपुट
- id,name,active 1,Alice,true 2,Bob,false
- उदाहरण आउटपुट
- [ { "id": 1, "name": "Alice", "active": true }, { "id": 2, "name": "Bob", "active": false } ]
Paste CSV above and click Convert to JSON.
टूल परिचय
Turn CSV into a JSON array with one row per object. Optional header detection, configurable delimiter, and type coercion that turns 1/true/null into real JSON values.
टूल अवलोकन
The parser is RFC-4180 compliant: it handles quoted fields, escaped quotes ("" → "), mixed \n and \r\n line endings, and trailing blank lines. With header mode on, the first row becomes the JSON object keys; with it off, each row is output as an array. Type coercion converts bare integers, floats, true/false, and null into their JSON-native form — leaving ambiguous strings (like "007" or "01-02") alone.
उपयोग के मामले
- Convert an Excel export to JSON for an API test
- Seed a web app fixture from a CSV file
- Pipe spreadsheet data into jq for filtering
- Prepare CSV survey data for a charting library
इनपुट/आउटपुट उदाहरण
id,name,active 1,Alice,true 2,Bob,false
[
{ "id": 1, "name": "Alice", "active": true },
{ "id": 2, "name": "Bob", "active": false }
]product,price,notes "Widget, Blue",19.99,"On ""sale""" Gadget,42,ships 2 weeks
[
{ "product": "Widget, Blue", "price": 19.99, "notes": "On \"sale\"" },
{ "product": "Gadget", "price": 42, "notes": "ships 2 weeks" }
]1 Alice 2 Bob 3 Carol
[ [1, "Alice"], [2, "Bob"], [3, "Carol"] ]
अक्सर पूछे जाने वाले प्रश्न
Is this CSV to JSON converter free?+
Does it support tab-separated or semicolon-separated files?+
What is type coercion?+
Can it handle quoted fields with commas inside?+
Is the first row always treated as the header?+
और टूल्स खोजें
श्रेणी में संबंधित उपयोगिताएँ खोजें डेटा नीचे।
संबंधित टूल्स
सावधानी से चुनी गई उपयोगिताएँ जो आपको उपयोगी लग सकती हैं