Contact

Tools  /  Generators  /  Git Commit Message Generator

Git Commit Message Generator

Build a Conventional Commits message — type, scope, subject, body, breaking change and footers — with live commitlint-style checks (50/72 rule, imperative mood, subject case), a ready git commit one-liner, and optional gitmoji.

What this tool does

It assembles a commit message in the Conventional Commits format — type(scope): subject, an optional body, and footers — and checks it against the rules most teams enforce with commitlint.

The checks

Subject present and in lower case, no trailing period, header under about 50 characters (72 hard limit), a blank line before the body, body lines wrapped near 72 characters, a blank line before footers, and a BREAKING CHANGE: footer whenever the ! marker is set.

Breaking changes and footers

Toggling "breaking change" adds the ! after the type and a BREAKING CHANGE: footer. You can also add Closes #123, Refs, Co-authored-by and Signed-off-by lines.

Output

The full multi-line message to paste into your editor, plus a git commit -m … -m … one-liner for the terminal.

Privacy

Everything runs in your browser. Nothing is sent anywhere.

Frequently asked questions

What is the 50/72 rule?
Keep the summary line around 50 characters (72 is a hard limit) and wrap body text at 72, so git log and GitHub display it without truncation or awkward wrapping.
Why imperative mood?
A commit subject completes the sentence "If applied, this commit will …". "Add login" reads correctly; "Added login" or "Adds login" do not. The tool warns on common past-tense endings.
Does it enforce Conventional Commits?
It formats and lints to that spec — valid type, optional scope, lowercase subject, ! plus BREAKING CHANGE footer for breaking changes — but it will still let you copy a message with warnings.
What is the git commit one-liner for?
Each paragraph becomes a -m flag, so you can paste one command instead of opening an editor. The multi-line version is better for long bodies.
Is anything uploaded?
No. The tool is entirely client-side.
Theme Accent