Cloud Storage URI Parser
Bucket, prefix, object and Hive partitions from any object-storage URI, plus the equivalent HTTPS and CLI forms.
Loading the tool…
How to use this tool
- Paste your URIs, one per line, in any mixture of s3://, gs://, abfss://, wasbs:// and https:// forms.
- Select Parse URIs.
- Copy the form your tool wants from the equivalents at the bottom of each result.
- Check whether the result says object or prefix — a trailing slash means a listing, not a file.
What cloud storage uri parser does
The same object has three or four different addresses depending on which tool is asking. Spark wants s3a://, the CLI wants s3://, a browser wants an https:// URL, and Azure wants a container and an account rather than a bucket. Translating between them by hand is trivial and is exactly where the typo gets introduced, usually into a job that then fails at three in the morning.
Paste any of them and this reports the provider, the bucket or container, the prefix, the object and its extension, along with any Hive-style partition segments it finds in the path — and then writes out the equivalent forms so you can copy the one your tool wants. A URI ending in a slash is reported as a prefix rather than an object, because a listing and a file are different things.