# IPv4 Address Converter

Convert between dotted, decimal, hex and binary IPv4 forms.

## URL

https://ilham.dev/tools/ipv4-address-converter/

## What It Does

Convert an IPv4 address between dotted-decimal, a single 32-bit integer, hexadecimal, octal and binary, and show the four octets broken out.

## Features

- Runs in the browser
- No login required

## Input

text input.

## Output

text output.

## Privacy

Processing happens locally in the browser.

No input data is uploaded to ilham.dev.

- Requires login: false
- Requires API key: false
- Stores user data: false


## Examples

- Why does 127.0.0.1 become 2130706433?
- Why would I need the integer form?




## Questions

### Why does 127.0.0.1 become 2130706433?

The four octets are the bytes of one 32-bit number: 127×256³ + 0×256² + 0×256 + 1. That is why some sites accept the decimal form as the same address.

### Why would I need the integer form?

Firewalls, access rules and some APIs store addresses as integers because they are cheaper to compare and range-check than strings.

