Start a project

Tool 395 of 425 · Security

Permissions-Policy Builder

Turns a plain list of features and who may use them into a correct Permissions-Policy header, a legacy Feature-Policy line and an iframe allow attribute.

Permissions-Policy Builder

Your input

Result

Headers and attribute
FeatureAllowedStatus

    01

    What it does

    Turns a plain list of features and who may use them into a correct Permissions-Policy header, a legacy Feature-Policy line and an iframe allow attribute.

    • 36 known features, with typos flagged
    • none, self, * or specific https origins
    • Legacy Feature-Policy equivalent
    • iframe allow attribute for delegation

    02

    Private by design

    Everything happens in your browser. Nothing you type, paste or upload is sent anywhere, and it keeps working offline once the page has loaded.

    03

    What you get

    Header, legacy header and iframe attribute, with a Copy and a Download button on every result.

    • Permissions-Policy
    • Security headers
    • Feature-Policy

    Why it matters

    Permissions-Policy decides which browser features, such as the camera, microphone, geolocation and payment, your pages and the iframes inside them may use. Switching off what you don't use limits what a compromised script or embedded widget can do.

    The structured-header syntax is fiddly: parentheses, quoted origins and no commas inside lists. Write one feature per line here and copy a correct header.

    How to use it

    1. Type or paste your input; the example shows the format.
    2. Press Build header. Results also update as you type.
    3. Read the summary line, then the table, notes or output below it.
    4. Copy or download what you need. Nothing leaves this page.

    FAQ

    What happens to features I don't list?

    They keep their default allowlist, which for most powerful features is self. List them with none to switch them off.

    Is my input uploaded?

    No. The tool runs in your browser and nothing you type, paste or open is sent anywhere.

    Can I rely on the result?

    It follows the public specification or formula named on this page and says where it simplifies. Check anything critical against the official tool or documentation before you ship it.

    Work with me

    Want a site that gets these right?

    I build fast, accessible websites and web apps that pass these checks from day one. Tell me about your project and I'll reply personally with honest next steps.

    All developer tools · Back to leej.uk