Skip to main content
Git & GitHub Tools

Git Tag Generator

Generate a clean Git tag name for a release, in v1.0.0, 1.0.0, or release-1.0.0 style.

Enter a version number and choose a tag style - this tool generates the tag name and the exact `git tag` command to create it.

Pair this with the Semantic Version Generator if you're not sure what the next version number should be.

What Is a Git Tag?

A Git tag is a fixed, named pointer to a specific commit - most commonly used to mark release points (like v1.2.0) so they're easy to reference, check out, or build release notes against later.

Why Use This Tool?

Teams differ on whether they prefix tags with v or not, and this tool makes it easy to generate a consistent tag name (and the exact command to create it) without second-guessing the format each time you release.

How to Use It

  1. Enter a version number (e.g. 1.4.0).
  2. Choose a style: v1.0.0, 1.0.0, or release-1.0.0.
  3. Copy the generated tag name and the ready-to-run git tag command.

Limitations

This generates the tag name and command text only - it does not create the tag in a repository. Remember an annotated tag (git tag -a) also needs a message and must be pushed explicitly with git push --tags to reach a remote.

Frequently Asked Questions

A lightweight tag is just a name for a commit. An annotated tag (git tag -a) also stores the tagger, date and a message, and is recommended for releases.

Tags are not pushed automatically. Push one with git push origin <tag> or all tags with git push --tags.

Both styles are common. "v1.2.3" is the most widely used convention, but choose one style and use it consistently.
Share this tool: