Semantic Version (SemVer) Calculator & Range Checker
Compare versions, see the next major/minor/patch, and check if a version matches npm ranges like ^1.2.0 or ~2.1.
Tool inputs stay in your browser · optional AI search sends your query
Good to know: Versions are MAJOR.MINOR.PATCH. ^1.2.3 allows 1.x updates (no breaking 2.0); ~1.2.3 allows only 1.2.x patches. Pre-releases like 2.0.0-beta.1 come before 2.0.0.
How to use it (step by step)
- 1Fill in the boxes: “Version”, “Compare with (optional)”, “Range to check (optional)”. Example numbers are already there so you can see how it works; replace them with yours.
- 2The result updates instantly as you type (on a phone it is below the boxes).
- 3The bold line is the main answer. Tap Copy next to any value to copy it.
Words to know
- Semantic versioning
- Version numbers as MAJOR.MINOR.PATCH: major = breaking change, minor = new feature, patch = bug fix.
More in Developer
JSON to XML ConverterConvert JSON into well-formed XML with your own root element name.JSON to Go StructGenerate Go structs with json tags from sample JSON, including nested objects and lists.JSON to Python Class (Dataclass / Pydantic)Generate Python dataclasses or Pydantic models from sample JSON, with type hints.YAML to JSON Converter & ValidatorConvert YAML (Docker Compose, Kubernetes, GitHub Actions, configs) to JSON and catch indentation mistakes.XML Formatter & ValidatorPretty-print messy XML with clean indentation, or minify it, and find unclosed tags.SQL Formatter (Beautifier)Format long SQL queries into readable lines: SELECT, FROM, JOIN, WHERE, GROUP BY each on their own line.