Conventional Commit Message Generator
About this tool
About Conventional Commit Generator
Produce commit messages that follow the Conventional Commits 1.0.0 format, which tools like semantic-release, release-please and commitlint use to work out version numbers and changelogs. Start from one of 24 commit templates for real situations, such as a scoped feature, a bug fix that closes an issue, a breaking API change with its migration note, a dependency bump, a CI change, a revert or a release commit, then replace the specifics. Or choose a type yourself, add an optional scope and a subject, and write a body that is wrapped at 72 characters for you while keeping paragraphs and bullet lists. Mark a breaking change to add the ! marker and a BREAKING CHANGE footer, link issues with Closes, Fixes or Refs, and credit pair partners with Co-authored-by lines that GitHub recognises. Lint hints flag a long header, a trailing full stop or a past-tense subject. You also get the release impact and a git commit command quoted safely for bash and zsh. Nothing leaves your browser unless you use the optional AI button.
Built and maintained by Abhi JainUpdated
How to Write a Conventional Commit
- 1
Pick a template or type
Choose a scenario in Commit templates, or click a Type such as feat or fix and add an optional Scope like api.
- 2
Describe the change
Write the Subject in the imperative mood and, if needed, a Body explaining what and why.
- 3
Add footers
Tick Breaking change and describe the migration, add Issues and Co-authors.
- 4
Copy
Fix any hints shown, then copy the Commit message or the Terminal command.
Conventional Commit Generator: questions and answers
What is the Conventional Commits format?
A header of the form type(scope): description, an optional body after a blank line, and optional footers such as BREAKING CHANGE: or Refs:. For example: feat(auth): add password reset by email. The scope is optional.
Which commit types bump the version?
With semantic-release defaults, feat produces a minor release, fix and perf a patch release, and any commit with ! or a BREAKING CHANGE footer a major release. docs, style, refactor, test, build, ci and chore do not trigger a release.
How do I mark a breaking change?
Add ! before the colon, as in feat(api)!: remove v1 endpoints, and/or add a footer starting with BREAKING CHANGE: followed by what changed and how to migrate. Either one marks the commit as breaking.
How long should a commit subject be?
Aim for 50–72 characters for the whole header so it isn't cut off in git log --oneline and on GitHub. commitlint's conventional config rejects headers longer than 100 characters.
What do the commit templates fill in?
Each of the 24 templates sets the type, scope, subject, body, breaking-change note and issue footer with a worked example, so you see what a good message for that situation looks like and only swap in your details. Your co-authors and wrap width stay as they are. Every template passes the built-in lint, and the release impact updates with it: a breaking template shows a major bump, a feat a minor one.
Can AI write the commit message from my diff?
Yes, optionally. Click AI, paste the output of git diff --staged or describe the change, and the type, scope, subject, body and breaking flag are filled in for you to review; the lint hints still apply. Only what you paste is sent, so leave out secrets. It uses the AI provider and key you connect in AI settings (Claude, OpenAI, Gemini, DeepSeek, OpenRouter or a compatible endpoint), and the request goes straight from your browser to that provider; KissThePDF has no server in between.
Related Tools
- Git Branch Name GeneratorTurn a ticket and title into a clean, valid git branch name, and check any name against git's rules.
- Semver CalculatorCheck npm version ranges, compare and sort versions, and bump major, minor, patch or prerelease.
- Git Cheat SheetSearchable git commands by task, with undo recipes for the mistakes everyone makes.
- .gitignore GeneratorCombine .gitignore templates for languages, frameworks, editors and operating systems, with duplicates removed.