IP Address Converter
Convert an IPv4 address between dotted form, a single number, hex and binary.
How it works
An IPv4 address is just a 32 bit number written as four bytes. Enter dotted form (192.168.1.1), the whole number (3232235777) or hex (0xC0A80101) and see it in every form, with the binary of each byte and whether it is private, loopback or public.
Worked example
192.168.1.1 equals 3232235777, 0xC0A80101 and 11000000.10101000.00000001.00000001.
Good to know
- Private ranges are 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16. They are not reachable from the internet directly.
- 127.0.0.1 is your own computer (loopback).
- Each part must be 0 to 255.
Common questions
- Why is the number so big?
- It packs four bytes: a x 256^3 + b x 256^2 + c x 256 + d.
- Does it handle IPv6?
- No, only IPv4.
- What is 0.0.0.0?
- "This host", used by servers to listen on all addresses.
More in Developer.
ASCII Converter
See the ASCII code of every character in decimal, hex, binary and octal, or turn codes back into text.
OPEN →Axios Request GeneratorFill in a method, URL, headers and body and get a ready Axios Request snippet to copy.
OPEN →Base32 Encoder and DecoderEncode text to Base32 (RFC 4648) or decode it, as used in 2FA secrets.
OPEN →