Skip to content

Menu

Git Commit Message Generator

Generate conventional commit messages

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

01What is Git Commit Message Generator?

Commit messages are the one piece of documentation every developer writes, and most of us write them in a hurry. This generator builds a header that follows the Conventional Commits 1.0.0 specification, so tools further down the line can read your history without guessing. You pick one of eleven types: feat, fix, docs, style, refactor, perf, test, build, ci, chore or revert. The spec itself only defines feat and fix. The other nine come from the Angular convention that commitlint's config-conventional also accepts. Add an optional scope and a short description, and the header is assembled as type(scope): description. Leave the scope empty and the parentheses disappear entirely. A body is optional. When you add one, the tool puts a blank line between it and the header, which is exactly where the spec expects it. Ticking Breaking does two things at once. It inserts a ! right after the type or scope, and it appends a BREAKING CHANGE: footer after another blank line. semantic-release and similar release tools read either marker as a signal for a major version bump. Here is a quick worked example. Choose refactor, type api as the scope, write drop v1 endpoints as the description, add Clients must use /v2. as the body and tick Breaking. The preview shows refactor(api)!: drop v1 endpoints, then the body, then BREAKING CHANGE: drop v1 endpoints. That footer simply repeats your description, so you will usually want to edit it after pasting. Scope, description and body are all trimmed before assembly. A scope made only of spaces therefore counts as no scope. If the description is empty, a red warning appears, because the spec requires text after the colon and space. The Emoji option puts a gitmoji-style icon in front, such as a sparkle for feat or a bug for fix. The tool warns you when it is on, and for good reason. A header that starts with an emoji no longer starts with a type, so commitlint's conventional config rejects it. Above the Description field there is a counter for the real first line, emoji and ! included. It turns red past 72 characters, a common guideline for readable git log output. commitlint's conventional config itself allows up to 100. A few limits are worth knowing. The tool does not check your wording, mood or capitalisation, and it writes a single footer only. Trailers like Refs or Co-authored-by have to go in the body by hand. The message is assembled locally in the page, and the only thing that leaves it is what you copy.

Developers on teams that enforce Conventional Commits with commitlint or derive version numbers from commit history with semantic-release. The tool runs entirely in your browser, so your data never leaves your device.

02How to use Git Commit Message Generator

  1. Click a commit Type button; hover over it to see a short description.
  2. Enter a Scope (optional) such as api or ui.
  3. Write the Description and watch the length counter above the field.
  4. Add a Body (optional), and tick Breaking or Emoji if you need them.
  5. Check the Preview, then click Copy Message and paste it into git commit or your Git client.

03Worked examples

Input: Type feat, scope "auth", description "add OAuth login"
Result: feat(auth): add OAuth login
With a scope, the header follows the type(scope): description shape from the spec.
Input: Type fix, no scope, description "handle empty cart", emoji on
Result: 🐛 fix: handle empty cart
An empty scope drops the parentheses entirely, and the emoji goes before the type.
Input: Type refactor, scope "api", description "drop v1 endpoints", body "Clients must use /v2.", breaking on
Result: refactor(api)!: drop v1 endpoints Clients must use /v2. BREAKING CHANGE: drop v1 endpoints
Breaking adds both the ! after the scope and a BREAKING CHANGE footer, which reuses the description text.
Input: Type docs, scope " " (spaces only), description " fix typo in README "
Result: docs: fix typo in README
Scope and description are trimmed, so a whitespace-only scope counts as no scope.
Input: Type perf, scope "db", description "cache user lookups", breaking on, emoji on
Result: ⚡ perf(db)!: cache user lookups BREAKING CHANGE: cache user lookups
Emoji and Breaking stack. The counter would read 31, because it counts the emoji and the space after it.

04Common use cases

  • Keeping commits consistent in a repository that runs commitlint in a Husky commit-msg hook
  • Writing commits that semantic-release can turn into version bumps and release notes
  • Teaching new team members the Conventional Commits format during onboarding
  • Composing a breaking-change commit with the ! marker and footer before merging an API change
  • Checking that a long header stays under the 72-character mark before you push
  • Drafting a clean commit for a squash merge when the branch history is messy

05Tips

  • Write the description in the imperative mood, as in 'add caching', not 'added caching'; it reads like an instruction applied to the codebase.
  • The breaking footer just repeats your description, so edit it after pasting to explain what callers must change.
  • Only enable the emoji prefix if your tooling expects gitmoji; Conventional Commits parsers and commitlint's conventional config treat an emoji-first header as invalid.
  • If your team runs commitlint with the conventional config, keep the description lower-case; a capitalised first word fails its subject-case rule.

06Related concepts

Conventional Commits, Semantic versioning, commitlint, semantic-release, Gitmoji.

Frequently Asked Questions

What is Git Commit Message Generator?

Git Commit Message Generator is a free, browser-based developer tool on AIDToolStack. Generate conventional commit messages It requires no installation or sign-up and works entirely in your browser.

Is Git Commit Message Generator free to use?

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

Does Git Commit Message 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