A dependency-free single-page IP calculator for IPv4 and IPv6 prefixes.
Live site: https://netsampler.github.io/ip/
npm run devThen open http://localhost:4173.
Set a different port with any of these:
npm run dev -- --port 3000
npm run dev -- -p 3000
npm run dev -- 3000
PORT=3000 npm run devThe app also works by opening index.html directly in a browser.
- Type an IPv4 or IPv6 address/prefix to calculate the normalized range.
- Use the Current representation control to view addresses as regular notation, hex, binary, or an integer.
- IPv4 defaults to regular dotted notation; IPv6 defaults to expanded hex.
- The current prefix is saved in the URL as
?prefix=...so bookmarks and shared links reopen the same calculation. - Use
ArrowUp/ArrowDownto move by-2ⁿ/+2ⁿto adjacent prefixes. - Use the prefix navigation buttons beside the field for the same moves without a keyboard.
- Use
PageUp/PageDownto jump by ten prefixes. - Use mouse back/forward side buttons to move through committed prefix history.
- Press
Tabto accept the inline completion.
