Version Comparator
Compare two semantic versions and say which is newer, including prerelease ordering.
- 100% Free
- No account required
- Runs in your browser
- No data is uploaded
Not saved automatically
Private to this browser, not a cloud backup. Saves expire 7 days after the last save. Avoid saving sensitive data on shared devices.
Input
Paste or edit your two versions, then click “Run tool”.
Type, paste or drop a file
TextLn 1, Col 1Spaces: 2UTF-811 bytes
Output
Comparison (read-only).
Read-only
TextLn 1, Col 1Spaces: 2UTF-80 bytes
Using the Version Comparator
Overview
Compare two semantic versions and say which is newer, including prerelease ordering.
Settle which of two versions is newer, prerelease tags included, before you pin a dependency.
How to use it
- Paste or type your Text into Input, drop a file onto it, or press Example to load a sample.
- Press Run tool, or ⌘ ↵ from anywhere on the page.
- Read the result in Output, then copy or download it. The Result tab has size, line counts and next steps.
Input
Two versions.
Output
Comparison.
- Semantic Versioning 2.0 rules
- Prerelease ordering
- Says which side is newer
- Compare result as -1, 0 or 1
Tips
- Run again for a fresh value; nothing is stored between runs.
- Generated secrets are only as safe as where you paste them next.
- A cron explanation lists the next times the schedule fires.
Keyboard shortcuts
- ⌘ ↵
- Run the tool
- ⌘ K
- Search every tool
- /
- Filter the sidebar