Extract JSON Column from CSV Files Online
Extract values from a JSON-encoded column in CSV files into a new flat column using a JSON path expression. Runs in your browser.
About this tool
Pull a specific value out of a JSON-encoded text column in a CSV file and put it into its own flat column. Database exports often include a JSON blob column — this tool cracks it open without writing any code. Enter a JSON path like `$.user.email` or `$.address.city`, and the tool extracts the matching value from every row.
Frequently Asked Questions
What is a JSON path and how do I write one for a CSV file column?
A JSON path is a dot-notation expression that locates a value inside a JSON string. Start with $ for the root. Use $.fieldName to access a top-level key, $.nested.field for a nested key, and $.array[0] for the first element of an array. For example, if a column contains {"user":{"email":"a@b.com"}}, the path $.user.email extracts the email.
What if the JSON path doesn't exist in some rows of my CSV file?
Rows where the path does not exist, or where the column value is not valid JSON, will have NULL in the extracted column. This is safe — no errors are thrown for missing paths.
Can I extract multiple JSON fields from the same column in a CSV file?
This tool extracts one path at a time. Run the tool multiple times with different paths, saving and re-loading the result each time. Alternatively, use the SQL Query tool and write SELECT *, json_extract_string("col", '$.field1') AS field1, json_extract_string("col", '$.field2') AS field2 FROM your_table.
Is my data private?
Yes — completely. Your file is never uploaded to any server. Everything runs locally in your browser using WebAssembly — processing happens entirely inside your tab. Once you close the tab, nothing is retained.
What is the maximum file size?
The free limit is 50 MB. For larger files, performance depends on your device's available memory — most modern machines handle 500 MB to 1 GB comfortably.
Related Tools
Add Moving Average to CSV Files Online
Add a moving average, rolling sum, rolling min, or rolling max column to CSV files directly in your browser. Choose window size, order-by column, and optional partitioning — no upload required.
Search Text in CSV Files Online
Search for text across all string columns in CSV files directly in your browser. Filter rows to only those containing your search term and download the results — no upload required.
Get Top N Rows from CSV Files Online
Extract the top N rows per group from CSV files directly in your browser. Get the top 5 products per category, highest scores per team, or any ranked subset — no upload required.
Add Percent of Total to CSV Files Online
Add a percentage-of-total column to CSV files directly in your browser. Show each row's share of the grand total, or the share within each group — no upload required.
Parse URL Column in CSV Files Online
Parse URL columns in CSV files and extract host, path, query string, and fragment into separate columns — directly in your browser, no upload required.