跳转到主要内容

Private IP Checker

Check whether an IPv4 or IPv6 address is in a private or reserved range.

Inputs

Enter an IPv4 address to check if it is private or public

IP Classification

Results will appear here.

Quickly verifying whether an IP address is private or publicly routable is a fundamental sanity check in network debugging, security reviews, and code that processes user-submitted IP addresses. An application that accepts private IPs in a field intended for public addresses may silently misbehave, and a firewall rule that accidentally blocks a private range can disrupt internal services.

This tool checks any IPv4 or IPv6 address against the complete set of IANA-defined private, loopback, link-local, and reserved ranges, returning a clear verdict with the specific RFC and range that applies.

如何在线检查 IP 地址是否为私有地址

  1. 1

    输入 IP 地址

    在输入框中输入任意 IPv4 或 IPv6 地址。工具接受标准点分十进制(IPv4)和冒号十六进制(IPv6)格式。

  2. 2

    检查私有/公网状态

    工具立即判断该地址是私有地址(RFC 1918 或类似保留范围)还是公网可路由地址。

  3. 3

    查看结果

    查看地址类型(私有、环回、链路本地、文档专用或公网),以及相关的 RFC 标准和地址用途说明。

How Private IP Range Detection Works

Detection is performed by comparing the input address against a fixed list of reserved CIDR blocks. For IPv4, the key private ranges are 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16 (RFC 1918), plus 127.0.0.0/8 (loopback), 169.254.0.0/16 (link-local), and 100.64.0.0/10 (carrier-grade NAT, RFC 6598). For IPv6, ::1/128, fe80::/10, and fc00::/7 are the primary private ranges.

The check is a bitwise operation: the address is ANDed with the range's prefix mask and compared with the network address. This runs in microseconds and requires no network access, making it suitable for inline validation in application code. The tool also surfaces the relevant RFC for each matched range, aiding documentation and compliance work.

为什么选择 FileCrank 私有 IP 检查工具

  • ✓ 即时判断 IPv4 或 IPv6 地址是私有地址还是公网地址
  • ✓ 识别环回、链路本地和文档保留地址范围
  • ✓ 引用相关 RFC 标准(RFC 1918 等)
  • ✓ 完全在浏览器中运行——不传输数据
  • ✓ 免费使用,无需注册

功能与规格

最大文件大小
最大 100 MB
隐私
文件在约一小时后删除
价格
免费,无需注册
处理方式
服务器端
支持协议
IPv4 和 IPv6
处理方式
浏览器本地
数据保留
无
费用
免费
检查在您的浏览器中本地完成——不向服务器发送数据。无需注册。免费——无隐藏费用。

常见问题

How do I use the Private IP Checker?

Enter any IPv4 or IPv6 address and the tool instantly determines whether it is private, public, reserved, or special-purpose.

What is a private IP address?

A private IP address is an address reserved for use within private networks and is not routable on the public internet. These are defined in RFC 1918 for IPv4 and RFC 4193 for IPv6.

What are the RFC 1918 private IP ranges?

The three IPv4 private ranges are 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16. These ranges are reserved by IANA for private network use and are not allocated on the internet.

Does the checker send my IP address data anywhere?

No. All private/public determination runs entirely in your browser. Your address data does not contact any server.

What is a link-local address?

A link-local address is a special IPv4 or IPv6 address automatically assigned to devices on a local network when DHCP is unavailable. IPv4 link-local ranges are 169.254.0.0/16.

Why do I need to distinguish between private and public IPs?

Network administrators must distinguish private from public IPs for security (firewalls), routing decisions, NAT configuration, and compliance audits. It is fundamental to network security and infrastructure planning.

Private IP Checker vs. ipaddress Python Module

Python's ipaddress module has is_private and is_global properties, but using them requires writing code, understanding version-specific quirks (the definitions changed between Python 3.10 and 3.11), and running a Python environment. This tool provides the same answer instantly in a browser with explicit RFC citations, making it faster for one-off checks and more informative for compliance purposes.

FileCrank 私有 IP 检查工具即时判断 IPv4 或 IPv6 地址是私有地址还是公网地址,并引用相关 RFC 标准。检查在浏览器本地完成,不存储数据。免费使用,无需账户。

Advertisement

Ad