Skip to content
Tesserae

Keyboard shortcuts

Focus search
/
This help dialog
?
Run the current tool
Ctrl/⌘ +Enter
Copy the output (when an output is focused)
Ctrl/⌘ +C

Shortcuts are ignored while you are typing in an input, a textarea or a select.

Web & CSS

Content-Location Builder & Analyzer

Generate or analyze Content-Location values for representation identity and caching diagnostics. Validates relative and absolute URI references, control characters, fragments, and suspicious whitespace without making network requests.

On-device No network Offline-ready

🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.

Try:

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

Naming a representation

A Content-Location header points at the URI for the particular representation a server returned, which can differ from the request URL when content negotiation chose a variant. Analyze mode classifies a pasted reference as an absolute URI, a network-path, or a relative reference, and build mode assembles a single valid header value from the location field.

What counts as valid

The checker rejects values that carry whitespace or control characters, since HTTP header field values cannot contain them, and treats the scheme of an absolute URI by attempting to construct it. A fragment is flagged with a warning because a #fragment is client-side and is not sent in a request, so it rarely describes a real representation.

Not a redirect

Unlike Location, Content-Location is metadata about the selected representation and does not move the client anywhere. The distinction matters for caching: a cache can store the payload keyed by this header without following it like a redirect.

Nothing is fetched

Validation is purely syntactic and runs in this page. The reference is never fetched, the tool makes no network request, and your pasted values are not uploaded or stored.

Questions

Is Content-Location the same as the request URL?

Not necessarily. It identifies a specific representation or resource associated with the response and may be relative or absolute.

Does it redirect the client?

No. Content-Location is metadata, not a redirect. Use Location with a redirect status to move a client.

Does this fetch the URI?

No. The tool only validates syntax locally and never makes a network request.

See category