Skip to content
hateitall

Git Branch Name Generator

Turn a ticket number and a sentence into a tidy branch name that git accepts and your team can read.

Processed locallyIn: TextOut: Branch name

Loading tool…

How to use git branch name generator

  1. Choose a type prefix such as feature, fix or release, or none.

  2. Enter the ticket id and a short description of the work.

  3. Choose hyphens or underscores, the case and a maximum length.

  4. Copy the name, a git switch -c command or the first push command.

What this tool does

  • Removes accents, punctuation and small words, and joins the rest with your separator.
  • Cuts long names at a word boundary instead of mid-word.
  • Checks the result against every rule of git check-ref-format, such as no spaces, no .. and no .lock endings.
  • Validates any branch name you paste and lists exactly which rules it breaks.

How the result is verified

The generated name is checked against the same rules git applies when creating a branch, and the result is shown under the name.

Frequently asked questions

Can branch names contain slashes?

Yes, and prefixes like feature/ use them to group branches. A name cannot start or end with a slash or contain two in a row.

Why put the ticket id in the branch name?

Issue trackers such as Jira and Linear link a branch to its ticket automatically when the id appears in the name, and it makes old branches easy to identify.

Is my data uploaded to a server?

No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.

Build and check commit messages with type, scope, breaking changes and footers

Text→ Commit messageLight on device

Searchable git commands by task, with undo recipes and risk warnings

Text→ CommandLight on device

Combine .gitignore templates for languages, editors and OSes, then test paths

Selection · Text→ gitignoreLight on device

Owner, repo, branch and path from any GitHub link, plus raw, clone and ZIP links

URL · Text→ LinksLight on device