Skip to content

Hackmyip/hackmyip-js

Repository files navigation

HackMyIP

HackMyIP

35 free privacy & network tools in one place. No signup. No API key.

Website · API Docs · npm

npm version npm downloads CI Website Stars MIT License


What is HackMyIP?

HackMyIP is a free, all-in-one privacy toolkit with 35 tools for checking your IP, testing for leaks, and analyzing your online privacy. Everything runs on Cloudflare's edge network. No signup, no API key, no tracking.

One place instead of juggling HaveIBeenPwned + DNSLeakTest + BrowserLeaks + WhatIsMyIP + ipleak.net.

Tools

Privacy & Security

Tool Description Link
IP Lookup Your IP, location, ISP, and privacy grade Try it
Email Breach Checker Check if your email was leaked in data breaches Try it
Privacy Checkup Full privacy audit with letter grade Try it
DNS Leak Test Check if your DNS queries are leaking Try it
WebRTC Leak Test Check if WebRTC is exposing your real IP Try it
Browser Fingerprint See how unique and trackable your browser is Try it
Torrent Leak Test Check if torrents expose your real IP Try it
Proxy/VPN Detector Detect if an IP is a proxy, VPN, or datacenter Try it
SSL/TLS Checker Check a domain's SSL certificate and security Try it
Password Strength Test how strong your password is Try it
Password Generator Generate secure passwords Try it
IP Blacklist Check Check if an IP is on any blacklists Try it

Network Tools

Tool Description Link
Speed Test Test your connection speed Try it
DNS Lookup Query DNS records for any domain Try it
WHOIS Lookup Domain and IP registration data Try it
Port Scanner Check open ports on your connection Try it
Traceroute Trace the path to any destination Try it
Reverse DNS Find hostnames for any IP Try it
Subnet Calculator Calculate CIDR ranges and subnets Try it
CIDR Calculator IP range calculations Try it
Bulk IP Lookup Look up multiple IPs at once Try it
Email Header Analyzer Parse and analyze email headers Try it
Is It Down? Check if a service is down right now Try it
Headers Check View your HTTP request headers Try it

Browser & Device Info

Tool Description Link
Browser Info Detailed browser capabilities Try it
Screen Info Display resolution and device info Try it
User Agent Parser Parse and decode user agent strings Try it
Timezone Test Detect timezone discrepancies Try it
Language Detection Browser language settings Try it
Location Test Geolocation API test Try it

Developer Utilities

Tool Description Link
Base64 Encode/Decode Base64 converter Try it
JSON Formatter Pretty-print and validate JSON Try it
Hash Generator MD5, SHA-1, SHA-256 hashing Try it
URL Encoder URL encode/decode Try it
QR Code Generator Generate QR codes Try it

IP by Country

Browse IP infrastructure for 190+ countries with privacy scores, ISP data, and city-level pages.

API

Free API with no key required. Use directly or via the npm client.

Install

npm install hackmyip

Quick Start (ESM)

import hackmyip from 'hackmyip';

// Get your IP + location + privacy grade
const me = await hackmyip.getMyIP();
console.log(me.ip);              // "203.0.113.42"
console.log(me.privacy.grade);   // "A"

// Look up any IP
const data = await hackmyip.lookup("8.8.8.8");
console.log(data.location.city); // "Ashburn"

// Check email breaches
const breach = await hackmyip.checkBreach("user@example.com");
console.log(breach.breaches);    // 13
console.log(breach.risk.level);  // "high"

// DNS records for a domain
const dns = await hackmyip.dnsLookup("github.com", "MX");
console.log(dns.records);         // [{ name, type, TTL, data }, ...]

// WHOIS / RDAP registration data
const who = await hackmyip.whois("example.com");
console.log(who.registrar, who.expiration_date);

// Is a site up or down?
const site = await hackmyip.checkSite("example.com");
console.log(site.is_up, site.response_time_ms);

Quick Start (CommonJS)

const { getMyIP, lookup, dnsLookup, checkBlacklist } = require('hackmyip');

const me = await getMyIP();
console.log(me.ip, me.privacy.grade);

const bl = await checkBlacklist("203.0.113.42");
console.log(bl.status);          // "CLEAN" | "WARNING" | "BLACKLISTED"

Methods

Method Endpoint Description
getMyIP() GET /api/ip Your IP + geolocation + privacy score
lookup(ip) GET /api/lookup Geolocation + network for any IP
getPrivacyScore() GET /api/score IP cleanliness + VPN/datacenter detection
checkBreach(email) GET /api/breach Email breach check + password exposure
dnsLookup(domain, type?) GET /api/dns DNS records (A, AAAA, MX, NS, TXT, …)
whois(domain) GET /api/whois WHOIS / RDAP registration data
reverseDns(ip) GET /api/rdns Reverse DNS (PTR) hostname
checkBlacklist(ip) GET /api/blacklist DNSBL reputation across 12 blocklists
checkSite(url) GET /api/down Is a site up or down + response time
bulkLookup(ips) POST /api/bulk Look up up to 50 IPs at once

Every method returns the data payload directly and throws an Error on failure. Full docs: hackmyip.com/api

The npm client covers the JSON API tools. Browser-based tools on the site (WebRTC/DNS leak tests, browser fingerprint, speed test) require a real browser and aren't part of the Node client.

Why HackMyIP?

  • 35 tools in one place (vs 1-2 per competitor)
  • No signup, no API key for anything
  • Fast — runs on Cloudflare's global edge network
  • Privacy-first — built to minimize data retention, runs on Cloudflare's edge with no persistent logging
  • Multi-language — English, 简体中文, 繁體中文
  • Free — no premium tier, no usage limits

Alternatives

Tool Tools Free No Signup Edge Speed API
HackMyIP 35 Yes Yes Yes (CF) Yes
ipleak.net 5 Yes Yes No No
browserleaks.com 8 Yes Yes No No
whatismyipaddress.com 3 Yes Yes No No
jason5ng32/MyIP 15 Yes Yes No No

Contributing

Found a bug? Want a new tool? Open an issue.

License

MIT


hackmyip.com — Free privacy toolkit. Check your IP. Test for leaks. Know your exposure.