Calculator
What the CSV Viewer does
CSV Viewer: calculates Status and JSON Output from CSV Input and Indent. Example: indent 2 spaces gives status Converted 2 rows.
This calculator reads CSV Input and Indent and produces Status and JSON Output. Everything recomputes live, which makes it easy to test a few scenarios in a row.
Reading raw machine output is painful; a formatted view makes the structure obvious. The CSV Viewer exists to take that particular chore off your hands.
There is no account, no upload and no server round trip, because the page does the work itself.
Each field is explained further down, along with the method and a worked example that uses the default values.
What do the CSV Viewer fields mean?
The CSV Viewer uses 2 inputs. The fields arrive populated, which makes it easy to nudge a single figure and watch what moves.
| Field | What to enter | Default |
|---|---|---|
| CSV Input | paste or type any amount of text | name,tools,active YoursTools,801,true Demo,42,false |
| Indent | choose from 2 spaces, 4 spaces, 1 tab or Minified (no indent) | 2 spaces |
How does the CSV Viewer work?
Each output is derived from the inputs above in a single pass; there is no hidden state carried between runs, so the same inputs always give the same calculation.
An empty or malformed field stops the calculation rather than being treated as zero.
Worked example
These are the values the CSV Viewer loads by default, and the result it produces from them. The numbers below come straight from the default inputs, so you can verify them against the live tool.
| CSV Input | name,tools,active YoursTools,801,true Demo,42,false |
|---|---|
| Indent | 2 spaces |
| Status | Converted 2 rows |
|---|---|
| JSON Output | [ { "name": "YoursTools", "tools": "801", "active": "true" }, { "name": "Demo", "tools"… |
Read next: Converting Between JSON, YAML and CSV Without Losing Data
How to use it
- Paste your content into CSV Input.
- Pick a value for Indent: the options are 2 spaces, 4 spaces, 1 tab or Minified (no indent).
- Skip the submit button; there is not one. Editing is enough.
- Check Status and JSON Output on the right.
- To keep the result, either copy the link or print the page. Both preserve what is on screen.
What this tool does not do
- Processing happens in your browser, so very large inputs are bounded by available memory.
- Output follows the common convention for this format; a specific toolchain may have its own house style.
- There is no history: reload the page and the previous run is gone.
Frequently asked questions
Just CSV Input and Indent. Defaults are loaded for all of them, so you can change one value at a time and watch how the result responds.
With the values loaded when the page opens, status comes out as Converted 2 rows. Try changing one value. The answer refreshes without a page reload.
No. There is no upload step, no database, and nothing to delete afterwards.
It is free with no conditions: no sign-up, and no limit on how often you use it.
There is no estimation step. The result is computed, not inferred.