Algae Data --- CSV, JSON & TOON Converter


Algae Data is a lightweight yet powerful VS Code extension that:
- Converts
.csv ➜ .json
- Converts
.json ➜ .csv
- Converts
.json ➜ .toon
- Predicts column data types of CSV files using the first 100 rows
Built for developers, analysts, and data nerds 🌊
Think of it as your pocket Swiss Army Knife for structured data!
🚀 Features
✅ CSV ➜ JSON conversion
✅ JSON ➜ CSV conversion
✅ JSON ➜ TOON conversion (structured format)
✅ Smart column type prediction using a 100-row heuristic
✅ Handles nested JSON for TOON conversion
✅ Auto-formatting for neat and clean results
✅ Works offline, fast & local
✅ Minimal UI --- integrated right into your editor
📦 Installation
- Open VS Code.
- Go to Extensions view (Ctrl+Shift+X or Cmd+Shift+X).
- Search for "Algae Data".
- Click Install.
- Reload VS Code.
🛠 How to Use
Open a CSV or JSON file in VS Code.
Open Command Palette (Ctrl+Shift+P or Cmd+Shift+P).
Type "Algae" and choose:
- Algae: CSV to JSON
- Algae: JSON to CSV
- Algae: JSON to TOON
Converted file opens in a new editor window.
Save the file.
📂 Examples
CSV ➜ JSON
description,industry,level,value
Type of outstanding debt: bank overdrafts,total,0,13215
JSON Output
{
"Data": {
"Content": [
{
"description": "Type of outstanding debt: bank overdrafts",
"industry": "total",
"level": "0",
"value": "13215"
}
],
"Headers": [
"description",
"industry",
"level",
"value"
]
}
}
JSON ➜ CSV
[
{
"id": 101,
"product": "Laptop",
"price": 799.99,
"in_stock": true
},
{
"id": 102,
"product": "Mouse",
"price": 25.5,
"in_stock": false
}
]
CSV Output
id,product,price,in_stock
101,Laptop,799.99,true
102,Mouse,25.5,false
JSON ➜ TOON
TOON is a clean, structured, indentation-based format.
{
"name": "Nihar",
"age": 25,
"skills": ["AI", "NodeJS"],
"profile": {
"active": true,
"experience": 3
}
}
TOON Output
{
name: "Nihar"
age: 25
skills: [
- "AI"
- "NodeJS"
]
profile: {
active: true
experience: 3
}
}
☕ Support
If you find Algae Data helpful:
https://buymeacoffee.com/ranasarkara
📬 Feedback
GitHub: https://github.com/NIHAR-SARKAR/AlgaeData
Thanks for using Algae Data 💚
Structured data made effortless.