Skip to content

IP to Decimal Converter

Convert IPv4 and IPv6 addresses to decimal, hex and binary numbers, and back.

5.0 (1 rating)

Enter IPv4 or IPv6 addresses to get their decimal, hex and binary values, or enter a decimal number to get the IP address back.

Processing and privacy

Processing varies by tool. Check the instructions for local processing, server requests, external services and any file or request limits before entering sensitive information.

Read the privacy policy

Share this tool

Found it useful? Send it to a friend or teammate.

Rate this tool

5.0

1 rating

  • 5 stars 1
  • 4 stars 0
  • 3 stars 0
  • 2 stars 0
  • 1 star 0

Click a star to rate this tool

Clear instructions

Find steps, examples and limitations below.

Use online

Open the tool in a supported web browser.

Free to use

No sign-up required. Tool-specific limits may apply.

How to use the IP to Decimal Converter

Convert IPv4 and IPv6 addresses to decimal, hex and binary numbers, and back.

  1. 1 Paste one IP address or decimal number per line.
  2. 2 The results appear instantly as you type.
  3. 3 Copy the output for databases, firewall rules or programming.

Example and practical tips

192.168.1.1 becomes 3232235777 in decimal and 0xC0A80101 in hex. Entering 3232235777 on its own line converts it back to 192.168.1.1.

Frequently asked questions

Why store IP addresses as numbers?

Numbers sort correctly and make range checks simple, which is why databases and GeoIP files often store IPv4 addresses as 32-bit integers.

How large are IPv6 numbers?

IPv6 addresses are 128-bit numbers of up to 39 decimal digits, so they need big-integer support in most programming languages.

  • How to Use IP to Decimal Converter

    Convert IPv4 and IPv6 addresses to decimal, hexadecimal and binary numbers, or turn a decimal number back into an IP address. Converts many lines at once.

Browse all guides

Report an issue

Something broken or not quite right? Tell us and we will look into it.

Accessibility Menu

Personalize your experience. Open with Ctrl+U (Option+U on Mac). Preferences stay in this browser when storage is available.

Move / Hide Widget

Restore at any time with Ctrl+U (Option+U on Mac).

Accessibility statement and help