>_toolkitbox

~/tools / AWS ARN Parser

AWS ARN Parser

Break an AWS ARN (Amazon Resource Name) down into its components: partition, service, region, account ID, and resource.

ARN strings like arn:aws:... in IAM policies and CloudFormation templates can be long and hard to parse at a glance. This breaks one down so you can immediately see which service, region, and account it points to.

# Use Cases

  • Figuring out which region and account an ARN in an error log actually points to
  • Quickly reading the components of an ARN listed in an IAM policy's Resource field
  • Checking whether an ARN belongs to your own account in a multi-account setup

# Usage

  1. Paste the ARN you want to inspect into the input box.
  2. It's automatically broken down into partition, service, region, account ID, and resource.
Partition
aws
Service
iam
Region
(none — global service)
Account ID
123456789012
Resource
role/MyServiceRole

# FAQ

Is this an official AWS tool?
No, this is an independent, unofficial parser and is not affiliated with Amazon Web Services. "AWS" is a trademark of Amazon.com, Inc. or its affiliates.
Can the region or account ID be empty?
Yes. Some global or bucket-scoped resources, like IAM roles and S3 buckets, legitimately have an empty region and/or account ID field.

# Related