Permissions-Policy Builder
Build and explain a Permissions-Policy header directive by directive.
- Input and output stay in memory and are gone when you leave this page.
Nothing saved
Input and output stay in memory and are gone when you leave this page. - Processing happens in this page. No application server receives your input.
Runs in your browser
Processing happens in this page. No application server receives your input.
Existing Permissions-Policy header
Generated header
Browser features
| Feature | Allowlist | Default | Support |
|---|---|---|---|
| self | Chromium, Firefox, Safari (snapshot compiled 2025-02) | ||
| self | Chromium, Firefox, Safari (snapshot compiled 2025-02) | ||
| self | Chromium, Firefox, Safari (snapshot compiled 2025-02) | ||
| self | Chromium, Firefox, Safari (snapshot compiled 2025-02) | ||
| self | Chromium, Firefox, Safari (snapshot compiled 2025-02) | ||
| self | Chromium, Safari (snapshot compiled 2025-02) | ||
| self | Chromium, Firefox, Safari (snapshot compiled 2025-02) | ||
| * | Chromium, Safari (snapshot compiled 2025-02) | ||
| self | Chromium, Firefox, Safari (snapshot compiled 2025-02) | ||
| self | Chromium, Firefox, Safari (snapshot compiled 2025-02) | ||
| self | Chromium, Firefox, Safari (snapshot compiled 2025-02) | ||
| self | Chromium, Firefox, Safari (snapshot compiled 2025-02) | ||
| self | Chromium, Safari (snapshot compiled 2025-02) | ||
| self | Chromium only (snapshot compiled 2025-02) | ||
| self | Chromium only (snapshot compiled 2025-02) | ||
| self | Chromium only (snapshot compiled 2025-02) | ||
| self | Chromium only (snapshot compiled 2025-02) | ||
| self | Chromium only (snapshot compiled 2025-02) | ||
| self | Chromium only (snapshot compiled 2025-02) | ||
| self | Chromium, Firefox (snapshot compiled 2025-02) | ||
| self | Chromium only (snapshot compiled 2025-02) | ||
| self | Chromium only (snapshot compiled 2025-02) | ||
| self | Chromium only (snapshot compiled 2025-02) | ||
| self | Chromium only (snapshot compiled 2025-02) | ||
| self | Chromium only (snapshot compiled 2025-02) | ||
| * | Chromium, Firefox (snapshot compiled 2025-02) | ||
| self | Chromium, Firefox (snapshot compiled 2025-02) | ||
| * | Chromium only, legacy (snapshot compiled 2025-02) | ||
| * | Chromium only (snapshot compiled 2025-02) | ||
| * | Chromium only (snapshot compiled 2025-02) | ||
| self | Chromium only (snapshot compiled 2025-02) | ||
| self | Chromium only (snapshot compiled 2025-02) | ||
| * | Chromium, Firefox (snapshot compiled 2025-02) | ||
| self | Chromium only (snapshot compiled 2025-02) |
What this tool does
Builds a Permissions-Policy header from a checklist of browser features and their allowlists, and parses an existing one back into that checklist.
Permissions-Policy vs Feature-Policy
The legacy Feature-Policy header used semicolon-separated directives and CSP-style single-quoted keywords. Permissions-Policy uses RFC 8941 structured fields: comma-separated members, parenthesized allowlists, bare self, and double-quoted origins. Sending the old syntax under the new header name fails silently in browsers.
An empty allowlist () denies the feature to every origin including the page's own, whereas omitting a feature leaves it at the browser's default (self for most features, * for a few).
Limits
The feature list is a snapshot, and browser support for it varies more than for anything else in this document: the Support column says so per feature and names the date the list was compiled. The header only restricts; a feature you do not name keeps its default allowlist, which for most features is self. No allow attribute generation for <iframe>, which uses a third syntax again.
Scope: this covers the page itself. Your browser, operating system, clipboard, downloads, extensions, and crash recovery may keep copies, and a compromised site origin would not be protected.