Docker Image Parser
CodeParse docker image references into registry, namespace, tag, and digest components
Paste a full image reference or a shorthand like `nginx:latest` or just `redis` and it splits out the registry, namespace, repository, tag, and digest, applying the same default-resolution rules Docker itself uses (unqualified names resolve to `docker.io/library/<name>:latest`). It correctly disambiguates a registry with a port from a name-and-tag pair, validates tag format, and can build the equivalent `docker pull` or `docker run` command from the parsed parts. This is purely local string parsing though: it never contacts a registry, so it can tell you how a reference resolves but can't confirm the image or tag actually exists, which is worth remembering when debugging why a CI pipeline pulled the wrong thing before you assume the reference itself was wrong.
How to use Docker Image Parser
- 1.Paste a full image reference like `registry.example.com/team/app:1.2.3@sha256:abcd...` to split it into registry, namespace, repository, tag, and digest.
- 2.Paste a shorthand reference like `nginx:latest` or `redis` to see how Docker's default registry and namespace rules fill in the missing parts.
- 3.Use it to debug a CI pipeline that's pulling the wrong registry or tag by checking exactly how a reference string will be parsed before you run `docker pull`.
Frequently asked questions
Use via API, SDK, or MCP
cURL# Free: 1,000 req/day · Pro: 10,000 req/day
curl -X POST https://api.utilix.tech/v1/tools/docker-tag \
-H "Authorization: Bearer utx_live_..." \
-H "Content-Type: application/json" \
-d '{"input": "node:20-alpine"}'Get an API key from your dashboard · Full API docs →