Conventional Commit Builder

Pick the type of change, add a scope and a short description, and get a commit message in the Conventional Commits format, ready to paste. It is built on this page as you type.

How it works

A Conventional Commits message starts with a header: the type, an optional scope in brackets, an optional ! for a breaking change, a colon and a space, and then the description. For example: feat(cart): add a promo code field.

The body, if you write one, goes after a blank line and is wrapped at 72 characters, so it reads well in git log in a normal terminal. Footers go after another blank line. A breaking change becomes a BREAKING CHANGE: footer and also puts a ! in the header, so it shows in a one-line log too.

While you type, the page checks the header. It warns when the header is longer than 72 characters, when the description starts with a past-tense word such as "added", and when it ends with a full stop. Brackets and spaces in the scope are turned into dashes, because they would break the format.

How to use it

  1. 1 Pick the Type: feat, fix, docs, refactor and so on. Each one is explained in the list.
  2. 2 Type a Scope if your project uses them, such as api or cart. Leave it empty if not.
  3. 3 Write the Description: a short summary in the imperative, such as "add a promo code field".
  4. 4 Add a Body to explain why, a Breaking change if the change breaks existing users, and Footers such as "Closes #12", one per line.
  5. 5 Read any warnings under the message, then copy it.

Good to know

  • Write the description as if it finishes the sentence "If applied, this commit will...". "add login" fits; "added login" does not.
  • Use the body for why the change was made. The diff already shows what changed.
  • To paste a message with a body into a terminal, save it to a file and run git commit -F with the file name, or run git commit and paste it into the editor.
  • Release tools such as semantic-release and release-please read these headers to choose the next version number, so a wrong type can change a release.

Browser support

  • Chrome 94 and later
  • Firefox 93 and later
  • Safari 16.4 and later
  • Edge 94 and later

These are the oldest versions with everything the tool uses. They are worked out from the tool itself, so they change when it does.

Version numbers checked on 2026-09-04.

One bug fix, three ways to write it, and the version number each one gives

Commit messages in the Conventional Commits format are written for people, but they are also read by programs. Release tools look at the type of each commit since the last release and pick the next version number from it. So the format is worth getting right, and the clearest way to see why is to write the same change three ways. The project is at version 1.4.2. The change makes the signup API reject an empty email address.

The first way is a plain fix. Type fix, scope api, description "reject empty email on signup". The header is fix(api): reject empty email on signup, which is 38 characters, well under the 72 the page checks for. Under the specification, a fix maps to a patch release, so a release tool reading this commit would move the project from 1.4.2 to 1.4.3. Nothing that worked before should stop working.

The second way calls it a feature. If the same work also added a new error message that clients can show, you might choose feat instead. The header becomes feat(api): reject empty email on signup. A feat maps to a minor release, so the next version is 1.5.0. Choose feat only if users get something new. Choosing it for a plain fix makes the version number claim more than the release delivers.

The third way is breaking. Say the endpoint used to answer an invalid request with status 400 and now answers with 422, and some clients check for 400. Type that sentence in Breaking change. The header gets a ! and becomes fix(api)!: reject empty email on signup, and after a blank line the message ends with BREAKING CHANGE: invalid input now returns 422 instead of 400. Add Closes #214 in Footers and it goes on the line below. Any commit with a breaking change maps to a major release, whatever its type, so the next version is 2.0.0.

The page also checks the words. If you type "rejected empty email", it points out that most projects write the description in the imperative, as an instruction to the code: "reject", not "rejected". A full stop at the end gets a warning too, because the header is a title, not a sentence in a paragraph. Neither is a rule of the specification, so the message is still produced; the warnings are there so you can decide.

The limits are worth knowing. The page builds the message; it does not commit anything, and it cannot see your repository, so it does not know your project’s list of scopes or whether a commitlint configuration adds rules of its own. It only knows the common types. If your team uses others, such as a custom deps type, write the header by hand or check that your tools accept it.

Frequently asked questions

Which types can I use?

The Conventional Commits specification itself defines only feat and fix. The others offered here, such as docs, refactor, perf, test, build, ci and chore, come from the Angular convention, which most projects and the commitlint conventional config follow.

How do I mark a breaking change?

Type what breaks in Breaking change. The page adds a ! before the colon in the header and a footer that starts with BREAKING CHANGE:. Either one alone is valid under the specification; having both makes the change easy to spot in a short log and in the full message.

Why should the header stay under 72 characters?

git log --oneline, GitHub and most git tools show the first line on its own, and long ones are cut off. 72 characters is the long-standing convention for that first line, and many commit hooks enforce a similar limit.

What goes in a footer?

Lines in the form "Token: value" or "Token #value", such as "Closes #214", "Reviewed-by: Sam" or "Signed-off-by: Name <email>". GitHub closes the issue named in a Closes footer when the commit reaches the default branch.

Is my message sent anywhere?

No. The message is put together by a few lines of JavaScript on this page, and nothing you type leaves your device.

Related tools

Your files are processed on your device and are not uploaded. You can verify this in your browser’s developer tools under the Network tab.