Log File Formatter
Format and prettify log files for easier reading.
Make log files easier to read. Paste plain-text log lines or JSON lines (as written by most cloud services and logging libraries), and each entry is shown with its time, level and message aligned, with JSON fields laid out underneath. Filter to show only DEBUG and above, INFO and above, warnings, or errors. It works in your browser, so logs with customer data stay private.
Common use cases
- Read JSON logs copied from a cloud console
- Find errors in a long log quickly
- Share a readable excerpt of a log with a colleague
How to use
- Paste the log lines.
- Choose the minimum level to show.
- Read or copy the formatted log.
FAQ
Which log formats does it understand?
JSON lines with common field names (level, time, msg or message) and plain-text lines with a timestamp and a level such as INFO or [ERROR].
Can it handle very large logs?
Thousands of lines are fine. For gigabytes, use command-line tools such as grep or jq.
Related tools
- JSON FormatterFormat, validate, and beautify JSON data with syntax highlighting.
- SQL FormatterFormat and beautify SQL queries with proper indentation.
- CSV to JSONConvert CSV data to JSON format for APIs and applications.
- JSON to CSVConvert JSON arrays to CSV spreadsheet format.
- XML to JSONConvert XML documents to JSON format.
- JSON to XMLConvert JSON data to XML document format.