Skip to content
ToolsOnDuty - free online tools
Developer Tools

Semantic Version Tool

Parse, compare and bump semantic versions like 1.4.2.

Free browser toolRuns in your browserNo sign-up
Release version workspace

Parse, compare and bump semantic versions correctly

Inspect SemVer components, compare numeric precedence and prepare the next major, minor or patch release without treating versions as decimal numbers.

1.4.2

version

Valid SemVer

validity

Older

comparison

Version inspection

SemVer 2.0 shape
Major
1
Minor
4
Patch
2
Pre-release
-
Build
-

Release bump

Drops pre-release/build metadata
Bump version

Version comparison

Build metadata ignored
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.

Private by design. Input is processed inside this browser tab and is not sent to ToolsOnDuty.

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.

Open a related tool to prepare your files or refine the finished result.