🎉Black Friday deal: 40% off all lifetime licenses with code BF2026
Utilities & Parsing

S3 URI & Path Converter

Convert S3 URIs, virtual-host style URLs, path-style URLs, and R2 links. Extract bucket name, object key, region, and generate copyable AWS CLI commands.

S3 URI & Endpoint Converter

Convert s3:// paths and HTTP URLs into Bucket Name, Object Key, and ready-to-use AWS CLI commands.

Quick examples:
ProviderAWS S3
Bucket Namemy-company-data
Object Keybackups/2026/database.tar.gz
Generated AWS CLI Commands
Download File (aws s3 cp)
aws s3 cp s3://my-company-data/backups/2026/database.tar.gz ./database.tar.gz
Presign URL (aws s3 presign)
aws s3 presign s3://my-company-data/backups/2026/database.tar.gz --expires-in 3600

S3 URL formats

The same object can be written several ways. The S3 URI s3://my-bucket/path/file.txt is used by the AWS CLI. The virtual-hosted URL https://my-bucket.s3.us-east-1.amazonaws.com/path/file.txt puts the bucket in the hostname. The path-style URL https://s3.us-east-1.amazonaws.com/my-bucket/path/file.txt puts it in the path. Cloudflare R2 uses https://ACCOUNT_ID.r2.cloudflarestorage.com/my-bucket/path/file.txt for the S3 API and r2.dev or custom domains for public access.

Why convert between them

Logs and consoles often show one format while your script needs another. Converting gives you the bucket and key for SDK calls, the s3:// URI for aws s3 cp and sync, and the HTTPS URL to test public access in a browser.

Generated AWS CLI commands

The parser builds aws s3 cp to download the object, aws s3 sync for the prefix, and aws s3 presign for a temporary link. For R2 and MinIO it adds the matching --endpoint-url.

Frequently asked questions

For virtual-hosted URLs the bucket is the first part of the hostname before .s3. For path-style URLs it is the first path segment. Paste the URL above to extract it automatically.
s3:// is a URI understood by the AWS CLI and SDK tools, not by browsers. https:// URLs are the HTTP addresses of the object and work in a browser only if the object is public or the URL is presigned.
AWS keeps path-style requests working for existing buckets but recommends virtual-hosted style. MinIO and many S3-compatible providers still default to path-style.

Need a faster way to browse & share S3 objects?