X-Request-ID / Correlation-ID Tool
Generate or analyze the X-Request-ID (correlation ID) request header used to trace a request across services. Generates a UUID or token, validates provided values, and advises echoing the ID in responses and logs for end-to-end debugging.
🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.
Options
Your result will appear here
Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.
How it works
Generating an ID to send
Generate mode creates a random value with the browser crypto API and prints it as a ready-to-send header line. Choose a UUID v4 for full 128-bit entropy or a shorter 16-hex-digit token, then pick the header name it should appear under.
Validating an incoming value
Analyze mode judges a pasted value as a UUID, a 16-char hex token, or a custom ID and reports its length. Values shorter than eight characters or filled with odd symbols are flagged, and anything past 128 characters is warned about as bloating logs and headers.
Choosing a header name
X-Request-ID, X-Correlation-ID and X-Trace-Id are all offered in the picker; the chosen name is echoed in the generated header and recorded in the analysis table.
Making the ID actually useful
The generated or analysed value is only correlation if the server echoes it back and your logs capture it alongside the route and timestamp. Without that wiring, an ID is just a random string.
Generated on your device
Randomness comes from the browser crypto API and every step runs locally. No ID is uploaded and the tool makes no network call.
Questions
Why use a request ID?
It lets you correlate a single user request across proxies, services, and logs, making failures far easier to trace.
What is a good format?
A UUIDv4 (or a 128-bit random token) is a strong choice: high entropy, collision-resistant, widely understood.
Should the server echo it?
Yes — return the same ID in the response header and include it in your structured logs for end-to-end correlation.
Related tools
See categoryUUID Generator
Generate RFC 4122 UUIDs (v4 random or v7 time-ordered) in bulk.
HTTP Header Analyzer
Paste any HTTP headers and auto-detect, parse and check every one of them.
Access Log Analyzer
Analyze Apache and nginx access logs: traffic, top lists, status codes, errors and probes.
:nth-child An+B Evaluator
Parse CSS An+B (:nth-child, :nth-of-type) microsyntax, validate it, and list which child indices it matches.