Git Commit Message Builder
A Conventional Commit is a commit message with a fixed shape: a type, an optional scope, and a one-line summary, followed by a body and footers when you need them. It’s the format described by the Conventional Commits specification, and it’s worth using because tools can read it — changelog generators, release automation and version-bump scripts all parse that header line to work out what changed.
This builder assembles the message while you fill in a short form. You pick the type from a list that tells you what each one means, add a scope if the change belongs to one part of the codebase, write the summary, and tick a box if the change breaks something. Underneath, the finished message sits in its final shape — header, blank line, body, blank line, footers — rebuilt on every keystroke, ready to copy into your commit.
The part most builders skip is the counting. The character guidance here measures the whole header you’ll actually commit — type, scope, exclamation mark and summary together — against the usual guidelines of 50 characters for a scannable log and 72 as the outer limit. A long scope eats into that budget before you’ve written a word, and this is where you see it happening.
Git Commit Message Builder
Pick a type, add a scope if you need one, and write the summary — the finished Conventional Commits message builds itself below as you type, ready to copy into your commit.
Your commit
Adds the exclamation mark to the header and, once you describe what breaks, a BREAKING CHANGE footer — the two signals the specification recognises.
Common footers: Refs: #123, Closes #42, Co-authored-by: Name. If you ticked breaking change, its footer is placed first, above these.
Your commit message
How the message is put together: the header is your type, the scope in parentheses when you give one, an exclamation mark when the change breaks something, then a colon and your summary — the shape the Conventional Commits specification sets out. Body and footers follow as their own blocks, each separated by a blank line, because that spacing is what tools that read commit history expect. The character guidance counts the whole header, scope included, against the usual guidelines of 50 characters for a scannable log and 72 as the outer limit — it is guidance, never a block: Copy works at every stage. Everything is assembled here in your browser; nothing you type is sent anywhere.
How it works
The builder follows the Conventional Commits specification (conventionalcommits.org) exactly. The header is built as type(scope): summary: your chosen type, the scope in parentheses when you give one, then a colon and the summary. There are eleven types to choose from — feat, fix, docs, style, refactor, perf, test, build, ci, chore and revert — and each option in the list carries a one-line meaning, repeated as a hint under the select, so the choice between, say, refactor and chore happens with the definitions in front of you.
A breaking change is signalled the two ways the specification recognises, and one tick applies both: an exclamation mark goes into the header just before the colon, and a field opens for what breaks, which becomes a BREAKING CHANGE: footer in the message. If you tick the box but leave that field empty, the exclamation mark alone carries the signal — the spec allows that — and a note under the preview tells you the footer is still waiting for its line.
The body and footer fields are kept separate because the format keeps them separate. Whatever you write in the body becomes its own block, divided from the header by a blank line; the footers form the last block, with the BREAKING CHANGE footer placed first and your own footers — Refs: #123, Closes #42, a co-author line — following in the order you typed them. That spacing is not decoration: the tools that read commit history expect the blocks divided exactly that way, and assembling the message from fields means the blank lines are never forgotten.
Two build rules are worth knowing, and both are stated on the tool itself. Your scope is used exactly as you type it — trimmed of stray spaces at the ends, but never silently lowercased or rewritten — and an empty summary simply leaves the header ending at the colon, with a note saying so, rather than inventing placeholder text. The 50 and 72 character markers are guidelines, not gates: the message copies at every stage, whatever the counter says.
How to use it
- Pick the type that matches the change. Read the hint under the select if you're between two — feat is a new feature, fix is a bug fix, and the other nine cover everything from documentation to dependency updates.
- Add a scope if the change belongs to one area — checkout, api, ui. Leave it empty for changes that span the whole project.
- Write the summary as a short instruction: "add", "fix", "remove". Watch the counter — it counts the summary and the full header separately, and the guidance band changes at 50 and 72 header characters.
- Tick breaking change if existing behaviour, an API or a file format changes incompatibly, and write what breaks in the field that appears.
- Use the body for the why: the motivation, the trade-off, the context a reviewer will want in six months. Wrap lines at about 72 characters so it reads well in a terminal.
- Add footers one per line for issue references and co-authors, then click Copy message and paste the result into your commit.
A worked example
Click Load the worked example and the form fills in a feature commit from a checkout project: type feat, scope checkout, summary "add Apple Pay to the payment step", breaking change ticked with "the /pay endpoint now requires an idempotency key", a three-line body, and the footer Refs: #123. The message it produces is this, exactly:
feat(checkout)!: add Apple Pay to the payment step
Shoppers on iPhone were dropping off at the card form, so Apple Pay
is offered first where the device supports it. The card form stays
as the fallback.
BREAKING CHANGE: the /pay endpoint now requires an idempotency key
Refs: #123
Read it top to bottom and each part earns its place. The header says what kind of change it is, where it lives, that it breaks something, and what it does — in exactly 50 characters, right on the guideline for a header that scans well in git log. The scope did real work there: feat(checkout)!: is 16 of those 50 characters before the summary starts, which is precisely why the counter counts the assembled header and not just the words you typed. The body explains the reason (shoppers were leaving) rather than repeating the summary, and the two footers close it out — the breaking change first, because that's the line a release tool reads, then the issue reference.
Who it is for
Developers on teams that have adopted Conventional Commits and want every commit to pass the same shape without memorising it; solo developers and open-source contributors whose projects use commitlint or automated changelogs; tech leads writing the example commits for a contributing guide; and anyone who has stared at a blank commit box trying to decide whether their change is a refactor or a chore.
Why use this tool
- The counter counts the real header — type, scope, exclamation mark and summary together, measured against the 50 and 72 character guidelines, so a long scope can't quietly push your header over the limit.
- Every type explains itself — all eleven types carry a one-line meaning in the list and under it, so picking between feat, refactor and chore takes seconds instead of a trip to the spec.
- Breaking changes done both ways at once — one tick adds the exclamation mark to the header and opens the BREAKING CHANGE footer field, the two signals the specification recognises.
- The shape is assembled, not typed — header, body and footers land in their own blocks with the blank lines between them, in the exact layout the Conventional Commits specification sets out.
FAQ
What is a Conventional Commit?
It's a commit message written to the Conventional Commits specification: a header of type(scope): summary, an optional body, and optional footers. The point of the fixed shape is that software can read it — tools use the type to generate changelogs and to work out version bumps, with feat signalling a minor bump and fix a patch bump.
Which type should I choose?
Start with the pair that covers most commits: feat for a new feature, fix for a bug fix. Beyond those, docs is documentation only, style is formatting with no behaviour change, refactor restructures code without fixing or adding anything, perf improves performance, test adds or corrects tests, build covers the build system and dependencies, ci covers continuous integration configuration, chore is routine upkeep that fits nowhere else, and revert undoes an earlier commit. The builder shows each meaning in the list as you choose.
How do I mark a breaking change?
Tick the breaking change box. The builder adds an exclamation mark to the header — feat(checkout)!: — and whatever you write in the "What breaks" field becomes a BREAKING CHANGE: footer. The specification accepts either signal on its own; using both makes the break impossible to miss for both people scanning the log and tools reading it.
Why keep the header under 50 or 72 characters?
Because headers are read in lists. Around 50 characters keeps the line fully visible in git log, on GitHub and in most editors without truncation, so a history stays scannable; 72 is the outer limit from Git's own style guidance, the point past which lines start wrapping awkwardly in terminals. They're guidelines, not rules the builder enforces — it shows you where your header stands and leaves the call to you.
What goes in the body and the footers?
The body is for the why: the motivation behind the change, the alternative you rejected, anything the diff itself can't tell a future reader. Footers are the structured lines at the end, following the git trailer format — issue references like Refs: #123 or Closes #42, a Co-authored-by: line, and the BREAKING CHANGE: description when the change breaks something.
Is anything I type uploaded or saved?
No. The message is assembled in your browser from the fields as you type; nothing is sent to a server, stored or tracked. That matters with commit messages in particular — scopes and summaries can name internal projects — so the draft lives in your tab and is gone when you close the page. Copy it before you leave.
What is a Conventional Commit?
It's a commit message written to the Conventional Commits specification: a header of type(scope): summary, an optional body, and optional footers. The point of the fixed shape is that software can read it — tools use the type to generate changelogs and to work out version bumps, with feat signalling a minor bump and fix a patch bump.
Which type should I choose?
Start with the pair that covers most commits: feat for a new feature, fix for a bug fix. Beyond those, docs is documentation only, style is formatting with no behaviour change, refactor restructures code without fixing or adding anything, perf improves performance, test adds or corrects tests, build covers the build system and dependencies, ci covers continuous integration configuration, chore is routine upkeep that fits nowhere else, and revert undoes an earlier commit. The builder shows each meaning in the list as you choose.
How do I mark a breaking change?
Tick the breaking change box. The builder adds an exclamation mark to the header — feat(checkout)!: — and whatever you write in the "What breaks" field becomes a BREAKING CHANGE: footer. The specification accepts either signal on its own; using both makes the break impossible to miss for both people scanning the log and tools reading it.
Why keep the header under 50 or 72 characters?
Because headers are read in lists. Around 50 characters keeps the line fully visible in git log, on GitHub and in most editors without truncation, so a history stays scannable; 72 is the outer limit from Git's own style guidance, the point past which lines start wrapping awkwardly in terminals. They're guidelines, not rules the builder enforces — it shows you where your header stands and leaves the call to you.
What goes in the body and the footers?
The body is for the why: the motivation behind the change, the alternative you rejected, anything the diff itself can't tell a future reader. Footers are the structured lines at the end, following the git trailer format — issue references like Refs: #123 or Closes #42, a Co-authored-by: line, and the BREAKING CHANGE: description when the change breaks something.
Is anything I type uploaded or saved?
No. The message is assembled in your browser from the fields as you type; nothing is sent to a server, stored or tracked. That matters with commit messages in particular — scopes and summaries can name internal projects — so the draft lives in your tab and is gone when you close the page. Copy it before you leave.
Related free tools
Regex Pattern Builder
Build a regular expression piece by piece and test it against your own text as you go.
{ }JSON Formatter
Format, validate and minify JSON right in your browser.
🤖llms.txt Builder
Fill in your site's key pages and descriptions to build a clean llms.txt file that helps AI tools understand your website.
⇄Base64 Encoder/Decoder
Encode text to Base64 or decode it back, with accents and emoji handled correctly.