Permissions Policy Generator

Builds a Permissions-Policy header value from a comma-separated list of feature entries, like "camera=(), geolocation=(self)".

Builds a Permissions-Policy header value from a comma-separated list of feature entries, like "camera=(), geolocation=(self)".

Use cases

  • Restricting which browser features a page is allowed to use
  • Turning a list of feature allowlists into a valid policy string

Examples

Two entries

camera=(), geolocation=(self)
{"policy": "camera=(), geolocation=(self)"}

FAQ

Is my data sent to a server?

Yes — the calculation runs on the server for this tool.