IAM Shrink

Get under the character limit

Hitting the character limit usually ends with someone widening a permission to make room. Compresses your statements to buy back character quota without expanding access.

Explore on GitHub

When to use

Fix validation errors

Save policies that are currently stuck over AWS character limits.

Manage large service lists

Fit massive explicit action lists (like EC2) under strict SCP ceilings.

Keep boundaries tight

Compress your policy without collapsing sensitive permissions into dangerous wildcards.

Start shrinking

Policy document or Actions to shrink

Shrunk content

Shrink iterations

Number of iterations

Access levels to shrink

Output options