Skip to content

Menu

Conventional Commit Linter

Check commit messages against the Conventional Commits 1.0.0 spec, see each error, and preview the next SemVer version for a batch of commits.

Runs entirely in your browserDevOpsFree, no sign-up
Loading tool

01What is Conventional Commit Linter?

Conventional Commits is a small format for commit messages. The first line reads type(scope)!: description, an optional body follows after one blank line, and footers such as Refs: #123 or BREAKING CHANGE: go at the end. Release tools read this structure to write changelogs and pick the next version number. Paste one commit message, or several separated by a line containing only ---. Each commit gets a Valid or Invalid badge, a breakdown of type, scope, description, body and footers, and a list of problems. Errors follow the 1.0.0 spec: a missing type, no space after the colon, a space before the colon, an empty scope, an empty description, a body that does not start after a blank line, and a lowercase breaking change footer. The spec says BREAKING CHANGE must be uppercase and treats BREAKING-CHANGE as the same token. The spec allows any noun as a type. If your team uses a fixed list, turn on the type check and the tool warns about anything else. You can also set a header length limit, which is a team convention, not part of the spec, so it is reported as a warning. The bump preview follows the spec's mapping to SemVer. fix means PATCH, feat means MINOR, and a breaking change, marked with ! or a BREAKING CHANGE footer, means MAJOR. Other types do not trigger a release. Invalid commits are left out of the bump. Enter your current version to see the next one. An option treats a breaking change on a 0.y.z version as a minor bump, which many projects do because SemVer says anything may change before 1.0.0. Limits: the tool does not read your git history, apply commitlint presets, or handle git comment lines and merge commit messages specially. Release tools such as semantic-release can map types to bumps differently, so check your own config. Nothing you paste leaves your browser.

Developers and maintainers who use Conventional Commits to drive changelogs and automated releases. The tool runs entirely in your browser, so your data never leaves your device.

02How to use Conventional Commit Linter

  1. Paste a commit message into the text box, or load one of the examples.
  2. To check several commits, put a line containing only --- between them.
  3. Optionally turn on the allowed types list and set a header length limit.
  4. Read each commit's badge, parsed fields and listed errors or warnings.
  5. Enter your current version to see the release bump and the next version number.

03Worked examples

Input: feat(lang): add Polish language
Result: Valid. Type feat, scope lang. Bump: minor. 1.4.2 → 1.5.0
A new feature with a scope is valid and asks for a minor release.
Input: feat: allow provided config object to extend other configs BREAKING CHANGE: `extends` key in config file is now used for extending other config files
Result: Valid. Type feat, no scope. Bump: major. 1.4.2 → 2.0.0
A BREAKING CHANGE footer makes any commit type a major bump. With the 0.y.z option on, 0.4.2 becomes 0.5.0 instead.
Input: fix: prevent racing of requests Refs: #123 --- feat(api)!: drop support for Node 18 --- docs: correct spelling of CHANGELOG --- fix:missing space
Result: fix: valid, patch. feat(api)!: valid, major. docs: valid, none. fix:missing space: invalid (A space is required after the colon.). Release bump: major. 1.4.2 → 2.0.0
Paste several commits separated by --- and the highest bump wins. The ! after the scope marks a breaking change.
Input: fix(): handle null user --- chore(deps): --- refactor(auth): move the session token refresh logic out of the middleware into a dedicated service --- revert: let us never again speak of the noodle incident Refs: 676104e, a215868
Result: fix(): invalid (The scope is empty. Remove the parentheses or put a noun inside them.) chore(deps): invalid (The header does not match type(scope)!: description.) refactor(auth): valid, warning (The header is 99 characters, over your limit of 72.) revert: valid Release bump: none. 1.4.2 stays 1.4.2
Empty scopes and missing descriptions are errors, while a long header is only a warning. refactor and revert do not trigger a release.

04Common use cases

  • Checking a commit message before pushing to a repository that enforces Conventional Commits
  • Previewing whether the commits since the last tag will produce a patch, minor or major release
  • Finding why a CI commit lint step rejected a message
  • Teaching new contributors the commit format with live feedback
  • Confirming that a breaking change footer is written so release tools will see it

05Tips

  • Use ! before the colon, as in feat(api)!: ..., to mark a breaking change on the first line. A footer is then optional.
  • Write BREAKING CHANGE in uppercase. A lowercase version is an error under the spec and tools will not count it.
  • Footers use a colon and space or a space and #, as in Refs: #123 or Closes #42. Footer tokens use - instead of spaces.
  • Run git log --format=%B%n--- since your last tag to get commits in the format this tool reads.

06Related concepts

Conventional Commits, Semantic Versioning, commitlint, semantic-release, git trailers, changelog.

Frequently Asked Questions

What is Conventional Commit Linter?

Conventional Commit Linter is a free, browser-based developer tool on AIDToolStack. Check commit messages against the Conventional Commits 1.0.0 spec, see each error, and preview the next SemVer version for a batch of commits. It requires no installation or sign-up and works entirely in your browser.

Is Conventional Commit Linter free to use?

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

Does Conventional Commit Linter store my data?

No. It runs in your browser; nothing is uploaded.

Related Tools

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