Log to CSV Converter (Access Logs, logfmt, JSON Lines, Custom Regex)
Converts several common log formats to CSV with the columns you pick.
Use the tool
Why this tool exists
Spreadsheets and SQL tools want columns. This tool parses the log and writes CSV with proper quoting, so user agents with commas survive.
For a custom regex, named groups become columns. Use the SQL on CSV tool or the XLSX converter on the result. Lines that do not match are skipped without a note, so compare line counts.
How to use it
- Paste the log or choose a file.
- Pick the format and, if needed, enter a format string or regex.
- Optionally list the columns to keep.
- Copy or download the CSV.
Frequently asked questions
Can I get XLSX?
Paste the CSV into the CSV to XLSX tool.
Can I query it with SQL?
Yes, paste the CSV into the SQL on CSV tool. It is not DuckDB, but runs common SELECT queries.
Why are lines missing?
Lines that do not match the format are dropped.
Is my log uploaded?
No. Everything is processed in your browser and nothing is sent. Logs can hold IP addresses and tokens, so the page does not write them into the address bar.