Skip to content

Menu

Git Branch Name Generator

Generate standardized git branch names

Runs entirely in your browserGit & GitHubFree, no sign-up
Loading tool

01What is Git Branch Name Generator?

Branch names drift fast on a team. One person writes Feature/Login_Fix, another writes fix-login, and soon nobody can find anything. This generator takes a plain sentence and gives you a predictable name every time. You pick a type from eight buttons: feature, bugfix, hotfix, release, chore, refactor, docs or test. Then you type what the branch does and, if you have one, a ticket ID like PROJ-123. The description goes through a short cleanup. It's normalized to NFKD and stripped of accents, so Café becomes cafe. Apostrophes vanish, so don't becomes dont rather than don-t. Every other symbol becomes a space, spaces collapse into single hyphens, and the slug is cut to 50 characters with no dangling hyphen at the end. The ticket gets the same treatment with a 30-character cap, so PROJ 123 turns into proj-123. Why so strict? Git's own rules for ref names, documented under git check-ref-format, forbid spaces, double dots, a trailing slash, a leading dash and several symbols like ~ ^ : ? * [. Because every piece here is reduced to lowercase letters, digits and hyphens, the output can't trip any of those rules. If the description has nothing usable left, you get untitled instead of a broken name like feature/. Four formats are on offer: type/ticket/desc, type/desc, ticket/desc and type-desc. Leave the ticket blank and the ticket formats simply drop that segment. A worked example: feature, "Café menu: add crème brûlée!" and JIRA-42 in the default format gives feature/jira-42/cafe-menu-add-creme-brulee. The big box shows the selected name with a copy button. A second button copies git switch -c plus the name. git switch arrived in Git 2.23 as the branch-only half of git checkout. Below that, the All Formats list shows your branch in every convention, and clicking a row copies it. A few limits. The 50-character cut can land mid-word, as in "smaller-foc". Ticket keys always come out lowercase, which some tracker integrations care about. The tool also can't see your repository, so it won't warn you that a branch called feature blocks feature/anything. Your text stays in the page and is never sent off.

Developers and team leads who want every branch in a repository to follow the same type/ticket/description pattern without arguing about it. The tool runs entirely in your browser, so your data never leaves your device.

02How to use Git Branch Name Generator

  1. Click a Branch Type such as feature or bugfix
  2. Type a short Description of the work
  3. Add a Ticket ID if you have one
  4. Choose a Format, or pick one from the All Formats list
  5. Click the copy icon for the name or use git switch -c ... to copy the full command (on Git older than 2.23, use git checkout -b with the same name)

03Worked examples

Input: feature | Café menu: add crème brûlée! | JIRA-42 | type/ticket/desc
Result: feature/jira-42/cafe-menu-add-creme-brulee
Accents are folded to plain ASCII, and the ticket ID is lowercased.
Input: bugfix | Don't crash on empty cart | (no ticket) | type/ticket/desc
Result: bugfix/dont-crash-on-empty-cart
Apostrophes are removed rather than turned into hyphens, runs of spaces become one hyphen, and an empty ticket drops that segment.
Input: docs | Update README for v2.0 release | #123 | ticket/desc
Result: 123/update-readme-for-v2-0-release
The # is stripped and the dot in v2.0 becomes a hyphen.
Input: chore | !!! | (none) | type/desc
Result: chore/untitled
When nothing usable is left, the description falls back to 'untitled'.
Input: refactor | Split the giant UserService class into smaller focused modules please | (none) | type-desc
Result: refactor-split-the-giant-userservice-class-into-smaller-foc
The description slug is cut at 50 characters, even in the middle of a word.

04Common use cases

  • Creating a feature branch that links to a Jira ticket so the integration picks it up
  • Keeping hotfix branches consistent during a stressful production incident
  • Agreeing on a naming convention when setting up a new repository
  • Turning a long issue title into a short, shell-safe branch name
  • Copying a ready git switch -c command straight into the terminal

05Tips

  • Start the description with a verb, like add or fix, so a branch list reads like a changelog.
  • Ticket IDs come out lowercase. If your tracker only links branches with upper-case keys, retype the key in capitals after copying.
  • Slashes show up as folders in most Git GUIs, which keeps feature and bugfix branches grouped.
  • Git can't have a branch named feature and another named feature/login at once, because refs are stored like file paths.
  • Keep descriptions under about seven words. Anything past 50 characters is cut, sometimes in the middle of a word.

06Related concepts

Git branching, Gitflow, kebab-case, slug, ticket ID.

Frequently Asked Questions

What is Git Branch Name Generator?

Git Branch Name Generator is a free, browser-based developer tool on AIDToolStack. Generate standardized git branch names It requires no installation or sign-up and works entirely in your browser.

Is Git Branch Name Generator free to use?

Yes. No sign-up, no fees and no usage cap.

Does Git Branch Name Generator store my data?

No. It runs in your browser; nothing is uploaded.

Cheat sheet

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…

What changed in AI dev tools, once a month

Renames, shutdowns, pricing changes and new MCP setups, each with a source.

Subscribe