Skip to content
Tesserae

Keyboard shortcuts

Focus search
/
This help dialog
?
Run the current tool
Ctrl/⌘ +Enter
Copy the output (when an output is focused)
Ctrl/⌘ +C

Shortcuts are ignored while you are typing in an input, a textarea or a select.

Developer Utilities

Semantic Version Tool

Check strict SemVer 2.0.0 strings, compare two versions, or sort a newline-separated list. Handles prerelease precedence exactly and ignores build metadata for precedence while preserving it in output.

On-device No network Offline-ready

🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.

Try:

Options

Your result will appear here

Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.

How it works

What gets checked and printed

The input is a newline-separated list of version strings, each checked against strict SemVer 2.0.0: MAJOR.MINOR.PATCH with an optional -prerelease and +build part. Validate mode returns a three-column table of every line with Valid or Invalid and, when it fails, the expected shape.

A release-day use

Before tagging a release, paste the candidate versions from your package manifests or CI matrix and confirm every one is well formed. In sort mode the same list comes back ordered by precedence, so you can see whether the new tag really sits after the last one.

Modes and the two extra options

The mode select chooses validate, compare or sort. Compare takes exactly one version in the box and pairs it with the second version field, printing whether the first is less than, greater than or of equal precedence to the second. The descending toggle reverses the sort output.

Strictness and build metadata

A leading v, surrounding whitespace inside the token or another prefix is rejected, and sort refuses to run if any line is invalid. Build metadata is ignored when comparing precedence but is kept in the displayed and sorted strings. A prerelease always sorts below the plain version.

Nothing leaves the tab

All parsing and comparison runs in your browser; no version string is uploaded and the page keeps working offline. That makes it safe for private version numbers that have not been published yet.

Questions

Does build metadata affect comparison?

No. SemVer 2.0.0 says build metadata is ignored for precedence. It is preserved in displayed and sorted values.

Are leading v prefixes accepted?

No. This tool validates strict SemVer 2.0.0. Remove a leading v, whitespace, or other tag prefix before checking.

How are prereleases ordered?

A version with a prerelease has lower precedence than the corresponding normal version. Numeric identifiers compare numerically, and numeric identifiers always precede non-numeric identifiers.

See category