Git Commit Message Generator

Commit fields
feat
New feature
fix
Bug fix
docs
Docs only
style
Formatting
refactor
Code change
test
Tests
chore
Build/tools
perf
Performance
ci
CI config
build
Build system
revert
Revert
Generated commit message

How to Use

  1. Select a commit type from the grid — feat for new features, fix for bug fixes, and so on.
  2. Optionally enter a scope to indicate which part of the codebase is affected (e.g. auth, api).
  3. Write a concise short description in the imperative mood, lowercase, without a trailing period.
  4. Check Breaking change if the commit introduces an API incompatibility, then describe what breaks.
  5. Click Copy to clipboard and paste directly into your terminal: git commit -m "$(pbpaste)"

About This Tool

Conventional Commits is a lightweight specification for writing structured, machine-readable Git commit messages. It is the standard used by projects like Angular, Vue, and many open-source libraries to automate changelogs and semantic versioning. This generator lets you build a correctly formatted message without memorizing the spec — all processing happens in your browser.

Frequently Asked Questions

What is the Conventional Commits format?

The format is type(scope): description on the first line, followed by an optional blank line and body, then an optional blank line and footer. Breaking changes go in the footer as BREAKING CHANGE: description and/or by adding ! after the type.

Why should the short description be under 72 characters?

Most Git clients, terminal tools, and code review UIs truncate the first line of a commit message at 72 characters. Keeping it short ensures the entire summary is visible without horizontal scrolling.

Can I use this with commitlint or semantic-release?

Yes. The output of this generator follows the Conventional Commits spec that commitlint, semantic-release, and standard-version all parse. Copy the message and use it directly in your commit command.

Related Tools