Comparison tool

Diff two Content Security Policy headers.

Useful for promoting a policy from Report-Only to enforce, comparing staging vs production, or reviewing a teammate's PR. Tokens added, removed, or moved are shown per directive.

Before

After

Result

Run a comparison to see the changes.

No comparison yet.

Related reading

Patterns where a diff is the most useful tool.

Next step

Once you know the delta, return to the generator or checker so the change can be validated against the live site.

Official references

Docs that help explain why a policy diff matters.