FA Dev Tools

S3

Paste any way an S3 location gets written down — a bucket name, an s3:// URI, a virtual-hosted or path-style URL, an ARN or a console link — and get every other form back, plus a check of the bucket name against the AWS naming rules.

Instructions

Converts one S3 reference into all the others — the notation you have is rarely the notation the next tool wants.

  1. Paste a bucket name, an s3:// URI, an S3 URL, an ARN or a console link into the input.
  2. Set Region if the reference does not carry one — it only affects the URL forms.
  3. Copy the form you need from the list.
  4. Check the bucket name against the AWS naming rules underneath.

Tips

  • A reference that already names a region (a URL, or an ARN with a region field) wins over the picker, which is disabled while that is the case.
  • Bucket names with dots are legal but the virtual-hosted host will not match the wildcard certificate, so HTTPS fails TLS validation — use the path-style URL for those.
  • Keys are shown decoded and re-encoded per segment, so a key with spaces or # comes back as a URL that actually resolves.
  • Everything runs in the browser — nothing is sent to AWS, so a reference to a bucket you cannot reach still converts.
  • Hit Example and click the input to load a path-style URL for a dotted bucket, which shows both the conversion and the TLS warning.

About S3 URLs, URIs and bucket names

One object, six ways to write it

An S3 object is a bucket plus a key. Take the bucket fishapple-media in ap-southeast-2 and the key photos/2026/beach.jpg. Each AWS tool wants it written differently.

The S3 URI, used by the AWS CLI and SDK tools, is s3://fishapple-media/photos/2026/beach.jpg. It has no region and is not an HTTP address.

The virtual-hosted–style URL is the standard HTTPS form: https://fishapple-media.s3.ap-southeast-2.amazonaws.com/photos/2026/beach.jpg. The legacy global endpoint drops the region: https://fishapple-media.s3.amazonaws.com/photos/2026/beach.jpg. Prefer the regional host, because the global one can redirect and newer regions do not accept it.

The path-style URL puts the bucket in the path: https://s3.ap-southeast-2.amazonaws.com/fishapple-media/photos/2026/beach.jpg. It still works, but AWS treats it as legacy.

The ARN, used in IAM and bucket policies, is arn:aws:s3:::fishapple-media/photos/2026/beach.jpg. Its region and account fields are empty. The console link is https://ap-southeast-2.console.aws.amazon.com/s3/object/fishapple-media?region=ap-southeast-2&prefix=photos/2026/beach.jpg.

Bucket naming rules

A bucket name is 3–63 characters of lowercase letters, numbers, dots and hyphens. It must start and end with a letter or number, cannot contain two adjacent dots, and cannot look like an IP address. Some prefixes (xn--, sthree-) and suffixes (-s3alias, --ol-s3) are reserved.

Dots are legal but cause trouble. The S3 certificate covers *.s3.ap-southeast-2.amazonaws.com, and a wildcard matches only one label. In media.fishapple.com.s3.ap-southeast-2.amazonaws.com the bucket spans three labels, so HTTPS fails certificate validation. Dotted buckets also cannot use Transfer Acceleration. Use path-style URLs for them, and hyphens in new names.

S3 has no folders

S3 stores a flat list of keys. / is just a character in a key. The console builds folders with ListObjectsV2: it asks for keys under a prefix such as photos/ with / as the delimiter, and S3 rolls each deeper level up into one CommonPrefixes entry, such as photos/2026/. The console's Create folder button just writes an empty object whose key ends in /.

What this tool does

Paste any form above, a bare bucket name, or an s3a:// or s3n:// URI from Hadoop or Spark, and it writes out all the others plus an AWS CLI command. A region in the input wins. Otherwise the Region field supplies it, and an empty field gives the global endpoints. In the URLs each key segment is percent-encoded, so a space becomes %20. The bucket name is checked against the rules above, with a warning for dots. Nothing is sent to AWS.

Frequently asked questions

What is the S3 bucket URL format?
https://<bucket>.s3.<region>.amazonaws.com/<key>. The older path-style form, https://s3.<region>.amazonaws.com/<bucket>/<key>, also still works.
What is the difference between an S3 URI and an S3 URL?
An S3 URI (s3://bucket/key) names an object for AWS tools such as the CLI, and a browser cannot open it. An S3 URL is an HTTPS address any HTTP client can request, as long as the object is public or the URL is presigned.
Is S3 path-style access deprecated?
AWS planned to stop path-style access for buckets created after 30 September 2020, then postponed that with no new date. Path-style still works, but virtual-hosted style is the recommended form.