>_toolkitbox

~/tools / AWS IAM Policy Formatter

AWS IAM Policy Formatter

Format an IAM policy (JSON) and run basic structural checks for Version, Statement, Effect, Action, and Resource.

A minified IAM policy is hard to read, and missing required fields are easy to overlook. Format it for readability, or run a basic structural check to catch careless mistakes early.

# Use Cases

  • Formatting a one-line IAM policy JSON copied from the AWS console so it's reviewable
  • Running a quick check for a missing Effect or Resource before you submit a policy you wrote
  • Getting a fast read on the structure of an IAM policy someone else wrote

# Usage

  1. Paste your IAM policy JSON.
  2. Click "Format" for a readable layout, or "Validate" to check for basic fields like Version/Effect/Action/Resource.

# FAQ

Does this replace AWS's IAM Policy Simulator?
No. This only checks syntax and basic field presence — it doesn't evaluate whether the actual permissions are appropriate (e.g. overly broad access). Also use AWS's official IAM Policy Simulator or Access Analyzer before deploying to production.
Is this an official AWS tool?
No, this is an independent, unofficial tool. AWS is a trademark of Amazon.com, Inc. or its affiliates.

# Related