Skip to content
ToolsOnDuty - free online tools
Developer Tools

Semantic Version Tool

Parse, compare and bump semantic versions like 1.4.2.

Free foreverRuns in your browserNo sign-up
Major
1
Minor
4
Patch
2
Pre-release
-
Build
-
Bump version
1.4.2 is older than 1.10.0

Note: 1.10.0 is newer than 1.4.2, because each part is compared as a number, not as text.

About the Semantic Version Tool

Semantic versioning uses MAJOR.MINOR.PATCH to signal the impact of a release, with optional pre-release and build parts.

This tool parses a version into its parts, bumps the major, minor or patch, and compares two versions using the correct numeric rules.

It helps you avoid the classic mistake of treating 1.10.0 as older than 1.4.2.

Key features

  • Parse major, minor, patch, pre-release and build
  • One-click major, minor or patch bump
  • Correct numeric comparison of two versions
  • Runs entirely in your browser

How to use

  1. 1Enter a version like 1.4.2.
  2. 2Use the bump buttons to increment it.
  3. 3Enter a second version to compare.

Examples

Bump patch
Input: 1.4.2
Output: 1.4.3

A patch bump increases only the last number for a backwards-compatible fix.

Frequently asked questions

Why is 1.10.0 newer than 1.4.2?
Each part is compared as a number, not as text. 10 is greater than 4, so 1.10.0 is newer, even though '1.4.2' looks larger alphabetically.
How does bumping work?
Bumping major resets minor and patch to 0; bumping minor resets patch to 0; bumping patch increases only the patch, following the semver rules.
Are pre-release versions handled?
Yes. A version with a pre-release tag (like 1.0.0-beta) is treated as lower precedence than the same version without it, per the spec.