← All text tools

AWS ARN and S3 URL Parser

Split an Amazon ARN into partition, service, region, account and resource, and rewrite S3 addresses between s3://, path-style and virtual-hosted forms.

  • Free
  • No sign-up
  • Works on any device

About AWS ARN and S3 URL Parser

An Amazon Resource Name has six parts: arn, partition, service, region, account and resource, and the resource may hold a type and an id or path. This parser splits any ARN into labelled parts and checks the partition, account and region format. For S3 it also understands bucket addresses in every style: s3:// URIs, path-style URLs, virtual-hosted URLs, dual-stack and legacy regional hosts. It then writes the same object out in each other form, including the ARN, and warns when a bucket name has dots or uppercase letters that break virtual-hosted addresses.

How to use AWS ARN and S3 URL Parser

  1. Paste an ARN such as arn:aws:iam::123456789012:role/Name, or an S3 address.
  2. Set the region to use when the pasted address has none.
  3. Read the parts table and copy whichever S3 address form you need.

Why use this tool?

Also known as

Frequently asked questions

Why do some ARNs have no region or account?

Global services such as IAM have no region, and S3 bucket ARNs have neither region nor account because bucket names are unique worldwide. The page marks these as empty.

What is the difference between path-style and virtual-hosted URLs?

Path-style puts the bucket in the path (s3.region.amazonaws.com/bucket/key). Virtual-hosted puts it in the host name (bucket.s3.region.amazonaws.com/key), which AWS now prefers.

Does it check that the resource exists?

No. It only reads the text. Whether a bucket or role exists, and whether you may use it, can only be learned from AWS.

Is AWS ARN and S3 URL Parser free?

Yes. AWS ARN and S3 URL Parser on Toolipedia is free to use, with no sign-up and no watermark.

Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.