Commit Message Generator
Generate Conventional Commit messages from git diff — auto-detect type, scope, and breaking changes
Commit Message Generator — Create Conventional Commit Messages from Git Diffs with Auto-Detected Type, Scope, and Breaking Change Indicators
- Paste your git diff output into the input area (generated by git diff or git diff --staged in your terminal), or simply type a brief natural-language description of your changes. The tool analyzes the content to intelligently suggest the appropriate commit components: the type (feat, fix, docs, style, refactor, perf, test, chore, ci, build), the optional scope (the affected module or component — e.g., auth, api, ui, db), and whether the change introduces a breaking change (signaled by ! after the type/scope and a BREAKING CHANGE: footer).
- Review and adjust the auto-detected settings — you can manually override the type (select from the full Conventional Commits type list), edit the scope, and toggle the breaking change flag. The tool generates three message variants simultaneously: Concise — a minimal single-line format (feat(api): add user authentication endpoint) ideal for quick commits and GitHub PR titles; Standard — a structured format with type, scope, subject line, and body paragraph generated from the diff summary; Detailed — a comprehensive format including type, scope, subject, multi-paragraph body, breaking change footer if applicable, and references section — ideal for significant features and public repositories.
- Click Copy on your preferred message variant to copy it to the clipboard, then paste into git commit -m or your Git client. Using Conventional Commits consistently provides immediate benefits: automated semantic versioning (fix → patch bump, feat → minor bump, BREAKING CHANGE → major bump), automated CHANGELOG.md generation via tools like standard-version or semantic-release, clearer git history for code reviews (you can scan commit types to understand the nature of each change), and easier onboarding — the structured format eliminates the 'what message should I write?' hesitation. All analysis happens locally in your browser — your code diffs, which may contain proprietary business logic, never leave your device.
Enable JavaScript to use these tools.