Skip to content
TDToolsOnDuty
Developer Tools

Git Branch Name Generator

Convert plain text into a valid, clean Git branch name.

Free foreverRuns in your browserNo sign-up
Your branch name will appear here
Enter some text to generate a name5 / 255

About the Git Branch Name Generator

Git branch names cannot contain spaces or many special characters, so turning a ticket title or a quick description into a valid branch name by hand is fiddly and error prone.

This tool does it instantly: it removes accents, strips invalid characters, replaces spaces with a separator, collapses repeats, and adds a conventional prefix like feature/ or bugfix/ so the result is always a valid, tidy branch name.

Everything runs in your browser, so your text and ticket titles never leave your device.

Key features

  • Converts text with spaces into a valid branch name
  • Prefixes: bugs/, feature/, bugfix/, hotfix/, release/, chore/
  • Choose hyphen or underscore as the separator
  • Optional lowercase and a live 255-character limit check

How to use

  1. 1Type or paste your text (for example, a ticket or PR title).
  2. 2Pick a prefix, separator and whether to lowercase.
  3. 3Copy the generated branch name.

Frequently asked questions

What makes a Git branch name invalid?
Git branch names cannot contain spaces, or characters like ~ ^ : ? * [ or backslashes, cannot contain '..', and cannot begin or end with a slash or dot. This tool removes all of those automatically.
Can I use slashes for prefixes like feature/login?
Yes. Choose a prefix such as feature/ or bugfix/ and it is added in front of your slugified text, which is the common Git branching convention.
Is there a length limit?
Git references can be up to 255 characters. The tool shows a live count and trims the result if it would exceed that.
Is my text sent anywhere?
No. The conversion happens entirely in your browser. Nothing is uploaded.