datacenter-ip-ranges

Live demo, open source

Is this IP address from a datacenter?

Check any IPv4 or IPv6 address against the ranges that AWS, Google Cloud, Oracle Cloud, DigitalOcean, Linode, Vultr, Cloudflare, Fastly and GitHub publish about themselves, plus Tor exit nodes and iCloud Private Relay. The lookup runs in your browser with the same matcher the Node.js package uses. Nothing you type leaves this page.

IP lookup

IPv4, IPv6, IPv4-mapped IPv6 (::ffff:1.2.3.4) and bracketed forms are accepted.

Try:
How do I check my own IP?

This page makes no network requests of its own, so it cannot see your address. Find your public IP one of these ways, then paste it above:

  • Search for "what is my IP" in your search engine.
  • Open your router's admin page. The status screen shows the WAN or internet address.
  • In a terminal, curl https://checkip.amazonaws.com prints your IPv4 address.

An address that starts with 10., 172.16. to 172.31. or 192.168. is a private LAN address and is never listed.

Ranges by provider

Each list comes from a feed the provider documents.

ProviderIPv4IPv6

Ranges by category

Category lists merge their providers, so overlapping blocks count once.

CategoryIPv4IPv6

Download the lists

Plain text, one CIDR per line. Tor exits and iCloud Private Relay are kept out of all.txt. Each provider and category list is linked from the tables.

    Use it in code

    Node.js 22 or newer, no dependencies. A PHP helper ships in the same repo.

    npm install github:moonetix/datacenter-ip-ranges
    const { isDatacenterIp, lookup } = require('datacenter-ip-ranges');
    
    console.log(isDatacenterIp('3.5.140.1'));
    console.log(lookup('185.220.101.1'));

    This prints true and [ { provider: 'tor', category: 'tor' } ]. Or from the command line: node bin/check.js 3.5.140.1. See the README for nginx, PHP and the raw file URLs.