Extract JSON from Logs: Unescape, Decode, Format
Paste a log line or an escaped, URL-encoded or Base64 value and get clean, formatted JSON or XML back. Every step is shown. Runs locally.
Log Payload Extractor tool
Runs entirely in your browser. Nothing you paste is uploaded or stored.
Found a problem or have an idea for this tool? Send feedback.
About this tool
Logs rarely give you clean JSON. The payload is wrapped in a timestamp and a class name, escaped as a string inside a string, URL-encoded, or Base64-encoded. This tool peels those layers off one at a time and shows you the formatted payload and exactly what it did.
It handles log prefixes and suffixes, quoted JSON strings, backslash-escaped quotes, percent-encoding and Base64, including combinations such as a Base64 value that was then URL-encoded.
How to use it
- Paste the log line or encoded value.
- Read the extracted JSON or XML and the list of steps applied.
- Copy the result, or mask it before sharing.
Limitations
- Only the first payload in a line is extracted.
- Logs with truncated payloads can't be repaired.
Example
2026-11-15 10:02:11.481 INFO OrderClient - response body: "{\"orderId\":1001,\"status\":\"SHIPPED\",\"customer\":{\"email\":\"[email protected]\"}}"{
"orderId": 1001,
"status": "SHIPPED",
"customer": {
"email": "[email protected]"
}
}Common use cases
Debugging from application logs
Turn a logged request or response body into something you can read and diff.
Message queue payloads
Open Base64 or escaped message bodies copied from a broker console.
Support tickets
Extract the payload first, then mask personal data before attaching it.