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-Language Builder & Analyzer

Generate or analyze Content-Language response values using BCP 47-style language tags, including regional and script subtags. Validates common tag structure, wildcard usage, duplicates, and private-use caveats locally.

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

What Content-Language describes

This response header states the natural language of the representation a client just received, using BCP 47-style tags such as en-US or fr-CA. Analyze mode reads a pasted value and classifies each tag, while build mode assembles a clean header value from a comma-separated list and refuses values that fail validation.

Reading a language tag

A tag is checked in its standard order: a primary language subtag, an optional script such as Latn, an optional region such as US or a three-digit code, then variants, extensions and the x private-use tail. The checker accepts the common shapes and flags anything that does not fit, without claiming to know the full IANA registry.

Wildcards, duplicates and private use

A lone * is allowed because it can mean all languages are intended, but mixing it with explicit tags is called out. Repeated tags are reported, and a private-use x- subtag is flagged as opaque, since such tags mean different things to different applications and may not interoperate.

Metadata, not preference

Content-Language describes the resource; it is not the same as the Accept-Language a client sends. Every tag is parsed and validated inside this page with no network access, so no request detail leaves your device.

Questions

Is Content-Language the same as the user preferred language?

No. Content-Language describes the language or languages of the representation. Accept-Language expresses client preferences.

What does * mean?

The wildcard can indicate that all languages are intended or that no specific language was selected, depending on application context.

Does this fully implement BCP 47?

It validates common language, script, region, variant, extension, and private-use shapes. It does not maintain the complete IANA language-subtag registry.

See category