CSV Viewer
View, transform, escape, and export CSV data locally in your browser.
View, transform, escape, and export CSV data locally in your browser.
The viewer reads the first line as the column headers, then prints every following row with each value labelled by its header — header: value | header: value — so wide rows stay readable without scrolling sideways. Double-quoted fields are unwrapped, a doubled quote ("") inside them becomes one literal quote, and leading and trailing spaces on each cell are trimmed. The Operation menu switches the same input to CSV → JSON, XML, HTML, TSV, SQL INSERT statements, or an escape/unescape pass.
Sanity-check a CSV export before importing it, spot a row with the wrong number of columns, or read a file whose columns are too numerous to line up in a plain text editor.
Input:
sku,name,price
A100,Keyboard,49.99
A101,"Mouse, wireless",19.99
Output:
sku: A100 | name: Keyboard | price: 49.99
sku: A101 | name: Mouse, wireless | price: 19.99
It presents each row as labelled header: value pairs rather than an aligned grid, which stays readable for files with many columns. For an HTML <table>, switch the Operation menu to CSV to HTML.
A field wrapped in double quotes can contain commas, and "" inside it is treated as a single quote character. Every cell is trimmed of surrounding spaces.
Yes. The Operation dropdown runs CSV to JSON, XML, HTML, TSV or SQL on the same input, and can also generate a random CSV sample.
No. The file is read and rendered locally in your browser; nothing is sent to a server.