Start a project

Tool 62 of 100 · Git

Conventional Commit Linter

Paste one commit message or a whole git log and see which messages break the Conventional Commits rules, the version bump they add up to, and a changelog.

Conventional Commit Linter at a glanceIllustration: 1, Commit messages; 2, processed in your browser; 3, Lint + changelog.Conventional Commit Linter1Commit messages3Lint + changelog2In yourbrowser
1 Commit messages 2 processed on your device 3 Lint + changelog

Conventional Commit Linter

Commit messages

Results

    Changelog draft

    CHANGELOG.md section

    01

    What it does

    Checks commit messages against Conventional Commits and commitlint rules, works out the version bump and drafts a changelog.

    • Conventional Commits 1.0 parsing
    • commitlint-style rules: type, scope, length and case
    • BREAKING CHANGE and ! detection
    • Semver bump from a list of commits

    02

    Private by design

    Everything happens in your browser. Nothing you type, paste or upload is sent anywhere, and it keeps working offline once the page has loaded.

    03

    What you get

    A lint report and a Markdown changelog, with a Copy and a Download button on every result.

    • Git
    • Commits
    • Semver
    • Changelog

    Why it matters

    Conventional Commits ('feat(auth): add passkeys') make history readable and let tools such as semantic-release work out versions and changelogs automatically. One badly formed message can break that release.

    This linter checks messages against the spec and the rules most teams use with commitlint, explains each problem, and shows the version bump a set of commits implies. Paste git log output and you get a changelog draft too.

    How it works

    1. InputOne or more commit messages
    2. In your browserChecked against Conventional Commits 1.0
    3. OutputErrors, the version bump and a changelog

    Where it fits in a designer's workflow

    1. Plan
    2. Design
    3. Build
    4. Test
    5. Launch
    Before a release, or when setting up commit rules.

    By the numbers

    The sample commits checked against the specfeat(api)!: drop the v1 order endpoint…: valid; Fixed the basket total rounding.: fails; fix(basket): round totals to the neare…: valid; feat(Search): Add fuzzy matching for p…: fails; perf: cache the category tree for 5 mi…: validfeat(api)!: drop the v1 order endpoint…validFixed the basket total rounding.failsfix(basket): round totals to the neare…validfeat(Search): Add fuzzy matching for p…failsperf: cache the category tree for 5 mi…valid
    Checked by this tool's own linter. Together the valid commits call for a major version bump, because one has a ! (a breaking change); fix means a patch and feat a minor. Source: Conventional Commits 1.0.0.
    Show the numbers as a table
    HeaderTypeResult
    feat(api)!: drop the v1 order endpointsfeatValid
    Fixed the basket total rounding.noneFails
    fix(basket): round totals to the nearest pennyfixValid
    feat(Search): Add fuzzy matching for product names.featFails
    perf: cache the category tree for 5 minutesperfValid

    How to use it

    1. Paste a commit message, or the output of git log.
    2. Read the problems for each message.
    3. Check the version bump.
    4. Copy or download the changelog draft.

    FAQ

    What makes a commit breaking?

    A ! before the colon (feat!: …) or a footer starting BREAKING CHANGE:. Either one means a major version bump.

    Which types are allowed?

    feat and fix are in the spec; build, chore, ci, docs, perf, refactor, revert, style and test are the common conventional set. You can add your own.

    How should I paste a git log?

    Use git log --format=%B%n---- so each message is separated by a line of dashes.

    Does it use my repository?

    No. It only reads what you paste.

    Work with me

    Want a site that gets these right?

    I build fast, accessible websites and web apps that pass these checks from day one. Tell me about your project and I'll reply personally with honest next steps.

    All developer tools · Back to leej.uk