← All Tools

Iframe Sandbox Builder

Compose the sandbox attribute on an <iframe> one capability at a time. An empty sandbox blocks everything — scripts, forms, popups, top navigation, same-origin treatment, plugins. Each token below re-enables one capability. The combination allow-scripts allow-same-origin is a known escape: the framed page can remove its own sandbox by editing the parent's DOM, so avoid it for untrusted content.

โšก Quick presets

๐Ÿ” Sandbox tokens

๐Ÿ“‹ Generated attribute

tokens selected 0 / 14 effective policy most restrictive

๐Ÿงช Live preview

Edit the inner HTML, then click Run to load it into the sandboxed iframe with the current token list. Watch the console for blocked actions.

๐Ÿ“š Notes