Multi-Format Log Parser

Sort pasted log lines into JSON, web-server and plain formats.

Runs in your browser. Nothing is uploaded — your input is processed on this device and discarded when you close the tab.

Multi-Format Log Parser

How to use this tool

  1. Enter your values in the fields above.
  2. Press Generate to see the result.
  3. Use Load sample to try the worked example, Copy result to copy it, or Clear to start again.

Worked example

Three lines (one JSON, one web-server, one plain) give 1 JSON, 1 web-server and 1 plain line.

What this tool does not do / Limits

This tool groups lines by shape only. It does not validate timestamps, follow log files or connect to any server.

Frequently asked questions

Does it read my server logs directly?

No. You paste the lines yourself; this page never connects to a server.

What counts as a web-server line?

A line with an IP address and an HTTP request part. Other lines fall into the plain group.

Related tools