Permissions-Policy Builder & Analyzer
Generate or analyze Permissions-Policy response directives. Validates feature names and allowlist origins, detects duplicate directives and broad wildcard grants, and explains iframe delegation and browser enforcement locally.
🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.
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
Turning capability policy into a table
Paste comma-separated directives such as camera=(self "https://video.example"), geolocation=() and the analyser splits them into a table of feature, allowlist and status. Empty parentheses show as (empty) and are counted as disabled. Build mode takes one feature name and a space-separated allowlist and assembles the directive.
Locking a page down before an embed
Reach for this when a page embeds third-party frames and you need to be sure only the intended origins may reach the camera, microphone or geolocation, or when a feature should be off for the document entirely.
Origins, none and the wildcard
An allowlist accepts self, an explicit https origin in quotes, the * wildcard or none. The analyser flags * as a broad grant worth reviewing, rejects none combined with another origin, and reports duplicate feature directives and malformed allowlist tokens.
Feature names and browser support
Feature names use lowercase letters, digits and hyphens, and a directive can be grammatically valid while a browser ignores a feature it does not implement, so test the browsers you actually ship to.
Analysed without leaving the browser
Both the parser and the builder are page code, so the policy you paste, internal hostnames included, is never uploaded and the tool keeps working offline.
Questions
What does Permissions-Policy control?
It controls whether browser features such as camera, microphone, geolocation, or fullscreen may be used by a document and delegated frames.
What does an empty allowlist mean?
An empty list, written (), disables that feature for the document and its frames.
Is this the old Feature-Policy header?
Permissions-Policy is the current header name. Browser support and feature names evolve, so test the target browsers.
Related tools
See category- HTTP Security Headers Analyzer
- HTTP Header Analyzer
- Content-Security-Policy Builder & Analyzer
- :nth-child An+B Evaluator
HTTP Security Headers Analyzer
Review pasted HTTP response headers for common browser security protections.
HTTP Header Analyzer
Paste any HTTP headers and auto-detect, parse and check every one of them.
Content-Security-Policy Builder & Analyzer
Build or inspect CSP directives and sources.
:nth-child An+B Evaluator
Parse CSS An+B (:nth-child, :nth-of-type) microsyntax, validate it, and list which child indices it matches.