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

X-Frame-Options Builder & Analyzer

Generate or analyze the X-Frame-Options response header. Validates DENY and SAMEORIGIN values, flags the deprecated ALLOW-FROM form, and explains the interplay with CSP frame-ancestors for modern framing protection.

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 the header does

Build mode emits DENY or SAMEORIGIN once the value passes validation, and analyze mode reports the normalized value, a valid or invalid status, and a plain description of the framing it permits. Anything outside the accepted list is refused rather than quietly passed through.

The two supported values

DENY stops any origin at all from framing the page. SAMEORIGIN allows only pages from the same origin to frame it. Input is compared case-insensitively, so deny and SameOrigin both work, and the result is echoed back in upper case.

The ALLOW-FROM trap

Any ALLOW-FROM value is flagged as deprecated, because modern browsers dropped support for it and never agreed on how it should behave. When a particular origin needs to frame the page, reach for the CSP frame-ancestors directive instead.

How it meets CSP

If a response also carries frame-ancestors, browsers that understand CSP ignore X-Frame-Options entirely. Sending both remains a sensible fallback for older clients that do not support CSP, at no real cost.

Checked in the browser

Header values are validated and built entirely on-device. Nothing is uploaded and no request is issued.

Questions

What does X-Frame-Options do?

It tells the browser whether the page may be framed, helping prevent clickjacking attacks where a page is embedded in a malicious overlay.

What is the deprecated ALLOW-FROM?

ALLOW-FROM was removed from browsers because it was hard to implement safely; use the CSP frame-ancestors directive instead.

Should I still use XFO?

Browsers that support CSP ignore XFO when frame-ancestors is present. Use frame-ancestors for modern control and XFO for older clients that do not support CSP.

See category