devkits-csv-json
Convert between CSV and JSON formats
Installation
npm install -g devkits-csv-json
Or use without installation:
npx devkits-csv-json [args]
Usage
dk-csv -j "name,age\nJohn,30\nJane,25"
dk-csv -c '[{"name":"John","age":30}]'
cat data.csv | dk-csv
cat data.json | dk-csv
dk-csv -j "name;age\nJohn;30" -d ";"
dk-csv -j "name,age\nJohn,30" --pretty
Output Examples
CSV to JSON
$ dk-csv -j "name,age\nJohn,30\nJane,25"
[{"name":"John","age":30},{"name":"Jane","age":25}]
JSON to CSV
$ dk-csv -c '[{"name":"John","age":30}]'
name,age
John,30
Pretty JSON
$ dk-csv -j "name,age\nJohn,30" --pretty
[
{
"name": "John",
"age": 30
}
]
Why @devkits/csv-json?
- ✅ Fast - Instant conversion
- ✅ Zero dependencies - Pure Node.js
- ✅ Offline - Works without internet
- ✅ Free - Open source (MIT)
- ✅ CLI - Use in your terminal
- ✅ Auto-detect from stdin
- ✅ Custom delimiter support
Web Version
Prefer a GUI? Check out the web version: https://devkits-tools.surge.sh/tools/csv-to-json
- 84 developer tools in one PWA
- Works offline
- No signup required
Pro Features
Upgrade to Pro for advanced features:
- 📦 Batch Processing
- 🔗 API Access (1000 req/day free)
- ☁️ Cloud Sync
- 🎨 Custom Themes
- 📊 Advanced Analytics
- 💬 Priority Support
Price: $9 one-time payment
Upgrade: https://devkits-tools.surge.sh/pro
Discount: Use code EARLYBIRD-2026 for 20% off
See Also
Part of the DevKits Tools collection — 80+ free developer tools:
Popular Tools
Other DevKits Tools
More from DevKits
- Invoicely — Free invoice generator for freelancers
- SnapOG — Free OG image generator with 20+ templates
- API Monitor — Real-time API monitoring
👉 Explore all 80+ developer tools at DevKits Tools
License
MIT © DevKits Team
🚀 API Monitoring for Developers
Build better APIs with API Monitor SaaS — real-time monitoring, alerting, and analytics.
👉 Early Access: $1 pre-order (50% off for life) → https://api-monitor-saas.surge.sh?utm_source=npm&utm_medium=readme&utm_campaign=phase0