AWS S3 URL Parser & Builder
Parse S3 URLs into components or build S3 URLs from bucket name, key, and region. Supports all S3 URL formats.
About This Tool
The AWS S3 URL Parser & Builder is a free, browser-based tool that
dissects Amazon S3 URLs into their individual components and can also
construct S3 URLs from scratch. Amazon S3 supports several URL formats
— virtual-hosted style, path style, the s3:// protocol, and ARN
notation — and this tool understands all of them.
When you paste an S3 URL into the parser, it instantly extracts the
bucket name, object key (path), region, and identifies the
URL style. For pre-signed URLs, the tool also breaks down the
query-string parameters such as X-Amz-Algorithm,
X-Amz-Credential, X-Amz-Expires, and
X-Amz-Signature, making it easy to inspect and debug
signed access links.
The builder mode lets you enter a bucket name, object key, and AWS region, then generates the URL in all four standard formats at once. This is useful when you need to quickly convert between URL styles — for example, switching from a path-style URL to a virtual-hosted URL after AWS deprecated path-style access for new buckets.
If you work with AWS resources beyond S3, you might also find our URL Encoder helpful for encoding special characters in object keys, or the JSON Formatter for inspecting S3 API responses.
All processing happens entirely in your browser. No URLs, bucket names, or credentials are sent to any server — your data never leaves your machine.
How to Use
- Select Parse URL or Build URL mode using the tabs at the top.
- In Parse mode, paste any S3 URL into the input field — the tool accepts
https://bucket.s3.region.amazonaws.com/key,s3://bucket/key,arn:aws:s3:::bucket/key, and other variants. - The parsed components (bucket, key, region, URL style) appear immediately in the right panel.
- For pre-signed URLs, the tool displays all signing parameters in a separate section.
- In Build mode, enter the Bucket Name, Key/Path, select a Region, and choose a URL Style to generate the URL.
- All four equivalent URL formats are shown below the generated URL for quick comparison.
- Click Copy or press Ctrl+Shift+C to copy the output. Use Sample to load an example URL.
Popular AWS S3 URL Examples
FAQ
What S3 URL formats are supported?
The tool supports virtual-hosted style (https://bucket.s3.region.amazonaws.com/key), path style (https://s3.region.amazonaws.com/bucket/key), S3 protocol (s3://bucket/key), and ARN format (arn:aws:s3:::bucket/key). Pre-signed URLs with query-string authentication parameters are also detected and displayed.
What is the difference between virtual-hosted and path-style URLs?
In virtual-hosted style, the bucket name is part of the hostname (bucket.s3.amazonaws.com), while in path-style, the bucket name is the first segment of the URL path (s3.amazonaws.com/bucket). AWS has deprecated path-style access for new buckets created after September 2020, making virtual-hosted style the recommended format.
Can it parse pre-signed URLs?
Yes. When a pre-signed URL is detected, the tool extracts and displays all signing parameters including X-Amz-Algorithm, X-Amz-Credential, X-Amz-Date, X-Amz-Expires, X-Amz-SignedHeaders, and X-Amz-Signature. This helps debug access issues with temporary signed links.
How does the tool detect the AWS region?
The region is extracted from the URL hostname. In virtual-hosted style, it appears as bucket.s3.REGION.amazonaws.com. In path-style, it appears as s3.REGION.amazonaws.com. For s3:// protocol and ARN formats, the region is not embedded in the URL and will show as 'not specified'.
Is my data safe?
Yes. All parsing and URL building runs entirely in your browser using JavaScript. No data — including URLs, bucket names, object keys, or pre-signed URL credentials — is ever sent to any server. You can verify this by checking the Network tab in your browser's developer tools.
Does the builder generate pre-signed URLs?
No. The builder generates standard S3 URLs without authentication parameters. Generating pre-signed URLs requires AWS credentials and the AWS SDK's signing process, which should be done securely on the server side or using the AWS CLI. The builder is for constructing the base URL format only.
Can I use this with S3-compatible services like MinIO or DigitalOcean Spaces?
The parser can attempt to detect path-style URLs from S3-compatible services that include 's3' in their hostname. However, for fully custom endpoints, the tool may report the style as 'unknown' while still extracting the path components. The builder generates AWS-specific URLs only.
Related Tools
URL Encode/Decode
Encode and decode URLs, parse query parameters, and build query strings.
JSON Formatter
Format, validate, and beautify JSON with syntax highlighting and tree view.
AWS ARN Parser
Parse AWS ARN strings into partition, service, region, account ID, and resource components. Build ARNs from parts.
AWS IAM Policy Generator
Generate AWS IAM policy JSON documents from a visual form. Select services, actions, resources, and conditions with common policy templates.
AWS CLI Command Builder
Build AWS CLI commands visually. Select service, operation, fill in parameters, and generate ready-to-use aws commands with syntax highlighting.