Conventional Commit Generator

Build a commit message in the Conventional Commits format: pick a type, add an optional scope, describe the change, and mark breaking changes. The page wraps the body at 72 characters, adds footers such as Refs #142, and warns about the mistakes commitlint would reject. Copy the message or the ready git commit command.

Type

A new feature (minor version bump)

First line: 45 characters (aim for 72 or fewer)

Adds ! after the type. Tools such as semantic-release then make a major version.

Footers

Writing the message runs in your browser. What you type never leaves this device.

Features

  • All common types: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert

  • Breaking changes marked with ! and an optional BREAKING CHANGE footer

  • Footers such as Refs #142, Closes #88 and Reviewed-by

  • Body wrapped at 72 characters, keeping lists and long URLs intact

  • Checks for length, full stops, capitals and past tense

  • A git commit command with one -m per paragraph

Why teams use Conventional Commits

Automatic changelogs and versions

Tools such as semantic-release and release-please read feat, fix and ! to pick the next version and write release notes.

Passing commitlint in CI

Write a message that passes the hook the first time instead of amending after a failed check.

Readable history

A type and scope on every commit make git log easy to scan and review.

The format in short

Structure

type(scope)!: description, then a blank line and an optional body, then a blank line and optional footers. Only the type and description are required. The ! and the BREAKING CHANGE footer both mean a breaking change; use either or both.

How types map to versions

  • fix: a patch release, 1.4.2 to 1.4.3.
  • feat: a minor release, 1.4.2 to 1.5.0.
  • Any type with ! or BREAKING CHANGE: a major release, 1.4.2 to 2.0.0.
  • docs, style, refactor, test, build, ci and chore: no release by default.

Writing a good description

  • Use the imperative: "add retry to webhook sender", not "added".
  • Keep the first line under 72 characters.
  • No full stop at the end; most teams start in lower case.
  • Put the why in the body, not the first line.

Conventional Commit Generator - FAQ