S3 URI / URL Parser
Convert freely between s3:// URIs, virtual-hosted URLs, path-style URLs, and S3 ARNs. Pull the bucket, key, region, and version ID out of any form, and get ready-to-run aws-cli commands for copying or listing.
Tool Summary Answer Block
This tool accepts structured input and returns deterministic output in the browser with no server upload.
- Tool name
- S3 URI / URL Parser
- Input intent
- Provide source content to transform, validate, or analyze.
- Output intent
- Receive normalized output suitable for copy, reuse, or debugging.
- Example input
- https://my-bucket.s3.us-east-1.amazonaws.com/reports/2025/q1.csv
- Example output
- bucket=my-bucket · key=reports/2025/q1.csv · region=us-east-1 · s3://my-bucket/reports/2025/q1.csv
Local processing / privacy notice
- Inputs are processed in your browser session.
- We do not send raw input/output values to our analytics endpoint.
- Use reset/clear actions when working with confidential data.
- Bucket
- my-bucket
- Key
- reports/2025/q1.csv
- Region
- us-east-1
- Addressing
- Virtual-hosted HTTPS
Tool Introduction
Convert freely between s3:// URIs, virtual-hosted URLs, path-style URLs, and S3 ARNs. Pull the bucket, key, region, and version ID out of any form, and get ready-to-run aws-cli commands for copying or listing.
Tool Overview
S3 exposes the same object under several addressing schemes: s3://bucket/key for the CLI, https://bucket.s3.<region>.amazonaws.com/key for virtual-hosted access, https://s3.<region>.amazonaws.com/bucket/key for legacy path-style, plus arn:aws:s3:::bucket/key for IAM. Each has slightly different rules around region segments, dualstack, and Transfer Acceleration. This tool normalizes them all: paste any form, get the others, and see warnings if the bucket name would fail S3 DNS rules.
Use Cases
- Convert a console URL into an s3:// URI for the CLI
- Pull the bucket and key out of a messy pre-signed URL (minus the signature)
- Validate that a bucket name still obeys S3 DNS rules after a rename
- Generate a quick "aws s3 cp" command from a URL you were given
Input/Output Examples
https://my-bucket.s3.us-east-1.amazonaws.com/reports/2025/q1.csv
bucket=my-bucket · key=reports/2025/q1.csv · region=us-east-1 · s3://my-bucket/reports/2025/q1.csv
s3://videos/intro.mp4
bucket=videos · key=intro.mp4 · region=—
FAQ
What are virtual-hosted and path-style URLs?+
Does this work on pre-signed URLs?+
What are the S3 bucket naming rules?+
Explore More Tools
Discover related utilities in the Cloud category below.
Related tools
Handpicked utilities you might find useful