Convert CSV or Excel (.xlsx) to Formatted JSON (2-Space)
Transforms tabular CSV/Excel rows into readable 2-space indented JSON arrays with automatic numeric & boolean typing option.
Tiếng Việt: Biến từng dòng CSV/Excel thành mảng JSON dễ đọc thụt lề 2 dấu cách để dùng cho cấu hình app hoặc kiểm thử API.
| Preset / Guide | Convert CSV or Excel (.xlsx) to Formatted JSON (2-Space) Chuyển CSV hoặc Excel (.xlsx) sang JSON định dạng đẹp (2 dấu cách) |
|---|---|
| Category | JSON & Spreadsheet (Chuyển đổi JSON & Bảng tính) |
| Conversion Path | CSV / XLSX → JSON (Pretty) |
| Encoding / Quality | UTF-8 (2-space indent) |
| Delimiter / Color Profile | Array of Objects |
| Technical Specification | JSON.stringify(rows, null, 2) |
Common Issue & Resolution
Hand-writing JSON from Excel tables often leaves trailing commas or unescaped quotes.
Lưu ý tiếng Việt: Tự ghép JSON thủ công từ bảng Excel dễ dư dấu phẩy cuối hoặc thiếu thoát ký tự ngoặc kép.
All parsing, UTF-8 BOM encoding, SheetJS workbook export, HEIC decoding, and Canvas image batching run locally inside your browser RAM. Files never leave your device.
Open Tool with "JSON (Pretty)" Preset