Skip to content

DevOps

Docker Image Reference Parser

Parse Docker image references into registry, namespace, repository, tag and digest components.

How to use this tool
  1. Paste an image reference without an http:// or https:// prefix, or open a worked example from the naming guide.
  2. Select Parse image to inspect the registry, repository, tag and digest, then review any warnings.
  3. Edit the components and copy the rebuilt reference. The familiar name keeps private registries and digest pins.

Docker Image Names, Tags & Digests

Loading tool…

Find this tool in

About this tool

What is Docker Image Reference Parser?

Read the separate parts of a container image reference before placing it in a deployment or report. The registry, namespace, repository, tag and digest have different roles. Parsing identifies the written reference without contacting a registry, so it cannot establish that an image exists, is public or is appropriate for your platform.

A worked example

Separate an explicit registry from the repository path

Example input

registry.example.com/team/api:1.2.3

Expected result

registry: registry.example.com
namespace: team
repository: api
tag: 1.2.3

Parse the sample reference and inspect its components. The hostname is explicit, so it should not be interpreted as a repository on a default registry. Review the complete normalized reference before copying it into another system. A version-looking tag is still a tag; its appearance does not guarantee that the registry will keep its content immutable.

Common mistakes and limits

  • A digest and a tag are different ways to identify content. Do not substitute one for the other without understanding the deployment's reproducibility policy.
  • The parser does not pull an image or verify its signature, architecture, licensing or vulnerabilities. Those checks require the actual artifact and relevant tooling.

Features

What you can do

  • Parse Docker Hub and private registry references.
  • Detect explicit registries and custom ports.
  • Extract nested namespaces and repositories.
  • Parse tags and immutable image digests.
  • Support references containing both tags and digests.
  • Edit parsed components and rebuild the image reference.
  • Shorten Docker Hub names while retaining private registries and digest pins.
  • Warn when no tag or digest is present.
  • Copy generated references.
  • Process every reference locally in your browser.

Frequently asked questions

Questions about Docker Image Reference Parser

What is a Docker image reference?

A Docker image reference identifies an image using an optional registry, one or more namespaces, a repository and optionally a tag or digest.

How is a registry detected?

The first path segment is treated as a registry when it contains a dot, a port separator or is localhost.

What happens when no tag is provided?

Docker commonly resolves an untagged reference using the latest tag. The parser shows a warning because that reference is not explicit.

What is the difference between a tag and a digest?

A tag is a mutable label such as 1.4.2 or latest. A digest identifies immutable image content using an algorithm such as SHA-256.

Can a reference include both a tag and a digest?

Yes. The tag remains descriptive, while the digest determines the exact immutable image.

Does this tool check whether the image exists?

No. It only parses the reference locally and never contacts Docker Hub or another registry.

Why do I get an invalid reference format error?

Common causes include adding https:// before the registry, uppercase repository paths, spaces, an empty tag after a colon or an incomplete digest. The naming guide includes valid examples you can open in the parser.

Related tools