AWS ARN Parser: Partition, Service, Region, Account, Resource

Breaks any number of ARNs into their parts and points out common mistakes.

Use the tool

Why this tool exists

ARNs look alike but each service lays out the resource part differently. Splitting them by hand is slow and the colons and slashes are easy to misread.

The tool reads partition, service, region, account and resource, guesses the resource type split and flags things such as an account that is not 12 digits. The type split is a guess because services choose their own layout.

How to use it

  1. Paste ARNs, one per line.
  2. Read the fields for each one.
  3. Check the review notes.
  4. Copy the part you need.

Frequently asked questions

Why are region and account empty for S3?

Bucket and object ARNs have no region or account. Global services such as IAM leave the region empty.

Which partitions are known?

aws, aws-cn, aws-us-gov, aws-iso and aws-iso-b.

Does it check that the resource exists?

No. It only reads the text.

Are wildcards allowed?

In IAM policies yes. The tool notes them.