UtilitySansar
Cloud

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.

工具摘要

此工具接收结构化输入,在浏览器中返回确定性输出,无需上传到服务器。

工具名称
S3 URI / URL Parser
输入意图
提供需要转换、校验或分析的原始内容。
输出意图
获得可直接复制、复用或排错的规范化输出。
示例输入
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

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.
Parsed entirely in your browser.
Examples:
Bucket
my-bucket
Key
reports/2025/q1.csv
Region
us-east-1
Addressing
Virtual-hosted HTTPS
s3:// URI
s3://my-bucket/reports/2025/q1.csv
HTTPS URL
https://my-bucket.s3.us-east-1.amazonaws.com/reports/2025/q1.csv
aws s3 cp
aws s3 cp s3://my-bucket/reports/2025/q1.csv ./
aws s3 ls
aws s3 ls s3://my-bucket/reports/2025/q1.csv

工具介绍

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.

工具概览

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.

使用场景

  • 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

输入/输出示例

输入意图
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=—

常见问题

What are virtual-hosted and path-style URLs?+
Virtual-hosted URLs put the bucket in the hostname (bucket.s3.region.amazonaws.com). Path-style URLs put it in the path (s3.region.amazonaws.com/bucket). AWS is phasing out path-style for new buckets.
Does this work on pre-signed URLs?+
Yes — the parser will extract the bucket, key, and region. The signature query parameters are surfaced for reference but not validated.
What are the S3 bucket naming rules?+
3–63 characters, lowercase letters, numbers, dots, and hyphens; must start and end with a letter or number; no adjacent dots; not an IP address. The tool flags names that violate these rules.

探索更多工具

在下方的 Cloud 分类中发现相关工具。

浏览全部 Cloud

相关工具

精选可能对你有用的实用工具