Docker Image Reference Parser
Paste an image reference such as ghcr.io/acme/api:1.4.2 and see how it splits into registry, repository, tag and digest, what Docker will actually pull after normalization, and the registry API path for that manifest.
Parsed reference after Docker's normalization
- Normalized reference
- Registry
- Repository
- Tag
- Digest
- Manifest path
- Registry API request path; the host is the registry above.
- Name length
- Registry and repository only; tags and digests are not counted.
- Official image
Normalization notes
How a reference is split
- Digest first. Everything after
@is a digest of the formalgorithm:encoded. A digest pins exact content, so a reference that has one does not need a tag. - Then the tag. A colon after the last slash introduces a tag. Colons before the last slash belong to a registry port, which is why
localhost:5000/appis registrylocalhost:5000with no tag. - Then the registry. The first path component is a registry when the reference has more than one component and that component contains a dot or a colon, is
localhost, or is a bracketed IPv6 address. Without one, Docker usesdocker.io. - Then normalization.
index.docker.ioandregistry-1.docker.ioare aliases ofdocker.io; a single-component Docker Hub name gains thelibrary/namespace; and a reference with neither tag nor digest resolves to the moving taglatest. - Limits. Names are lowercase and at most 255 characters, path components allow single
.,_or-separators, and tags are at most 128 characters. Asha256digest must carry 64 hexadecimal characters and asha512digest 128; other algorithms are accepted but not length-checked. - This is a parser for reference syntax and Docker's client-side normalization. It does not contact a registry, verify that the image exists, or check whether the tag exists. Everything runs in your browser with no storage, uploads or network requests.