S3 URI Parser & Builder
Convert between every way of writing an Amazon S3 location. Paste an s3:// URI, an HTTPS URL or an ARN to break it apart - or fill in the fields to build all four forms. Nothing leaves your browser.
Recognises s3://bucket/key, https://bucket.s3.region.amazonaws.com/key, https://s3.region.amazonaws.com/bucket/key and arn:aws:s3:::bucket/key.
The forms explained
- s3:// URI - what the AWS CLI and SDKs use:
s3://bucket/key. No region. - Virtual-hosted URL - the modern HTTPS form with the bucket in the hostname:
https://bucket.s3.region.amazonaws.com/key. - Path-style URL - the older form with the bucket in the path:
https://s3.region.amazonaws.com/bucket/key. AWS is retiring it, but S3-compatible providers still use it widely. - ARN - how IAM policies name the object:
arn:aws:s3:::bucket/key. No region or account for S3.
Using it with FTPie
FTPie browses Amazon S3 and every S3-compatible bucket in a normal dual-pane file manager, so you never have to hand-write these paths - but when a script, log or IAM policy hands you one, this tool tells you exactly which bucket and key it points at. Need a scoped key? Try the S3 IAM Policy Generator.