ML-POWERED · URL ANALYSIS

AI Phishing Website Detector

Instantly check any URL or domain using a machine learning model trained locally on real phishing and legitimate URL data. Get a trust score and an explainable phishing verdict — no signup, no external services contacted.

How to Use the AI Phishing Website Detector

01

Paste a full URL or bare domain — with or without https://

02

Click Check URL. The check runs entirely on this server — your browser never contacts the destination site

03

Review the trust score and the heuristic signal breakdown to understand why the model reached its verdict

Understanding Your Results

Overall Verdict

  • No red flags detected — the URL's structure closely matches patterns seen in legitimate training data
  • Phishing patterns detected — the URL's structure closely matches patterns seen in phishing training data

Trust Score (0–100)

Derived directly from the model's prediction confidence — how closely this URL's structure matches legitimate vs. phishing patterns learned during training.

Dangerous · 0–49 Suspicious · 50–74 Safe · 75–100

How Our System Works

The core of this project is a Random Forest classifier — an ensemble machine learning model made up of 200 decision trees — built with scikit-learn. It was trained on the PhiUSIIL Phishing URL Dataset, expanded with real domains from the Tranco top-sites ranking and additional synthetically generated legitimate URL patterns, to correct formatting bias found during development. The final model was validated on held-out test data with 98.93% accuracy.

Every prediction is generated locally, in well under a second, purely from the text of the URL — 23 structural features are extracted (length, character composition, HTTPS usage, subdomain depth, entropy, and more) and passed to the trained model.

This Tool

  • Predicts from URL structure using a trained ML model
  • Works instantly, fully offline, no external API calls
  • Can flag never-before-seen phishing patterns
  • Cannot detect brand-new sites hosted on ambiguous-but-legitimate patterns (see Limitations below)

Reputation-Based Checkers

  • Look up the URL against live threat-intelligence databases
  • Follow redirect chains and check domain registration age
  • Very reliable for already-known threats
  • Can miss brand-new phishing sites that haven't been reported yet

Heuristic Signals Reference

SignalWhat it checksWhy it matters
HTTPSWhether the URL uses HTTPS or plain HTTPHTTP-only connections are a baseline risk flag for any site handling data
TLD riskTop-level domain reputation (.xyz, .top, .tk...)These TLDs are heavily over-represented in phishing campaigns
ShortenerKnown URL shortener services (bit.ly, tinyurl...)Shorteners hide the real destination and prevent pre-click inspection
Non-ASCII charsUnicode / international characters in the domainUsed in homograph attacks to visually mimic legitimate domains
IP hostnameWhether the host is a raw IP addressLegitimate sites use domain names, not raw IPs
Subdomain depthNumber of subdomain levelsDeep nesting can mimic trusted brands (paypal.com.malicious.xyz)

Example Phishing URL Patterns

These are illustrative, synthetic examples used for testing — not live links, and not real reported phishing sites.

http://paypal-secure-verify-account.com/login Brand name + suspicious keywords stacked in the domain
http://192.168.45.12/wp-admin/verify Raw IP address instead of a domain name
https://bit.ly/3xK9pQz URL shortener hiding the real destination
http://secure-bankofamerica-update.xyz/confirm Brand impersonation combined with a high-risk TLD
http://amaz0n-account-suspended.com/verify?user=12345 Character substitution ("0" for "o") and urgency keywords

Why You Should Check Links Before Clicking

3.8M+ Phishing attacks recorded globally in 2025 Source: APWG Phishing Activity Trends Report
16% Of data breaches begin with a phishing attack Source: IBM Cost of a Data Breach, 2025
8.3B+ Email-based phishing threats detected by Microsoft in Q1 2026 alone Source: Microsoft Email Threat Landscape, Q1 2026

Frequently Asked Questions

How do I check if a link is safe?

Paste the full URL or domain into the checker above and click Check URL. The analysis runs locally and returns a trust score and a heuristic signal breakdown within a second.

Is a clean result a guarantee the site is safe?

No. This tool analyzes URL structure only — it does not check live threat databases or fetch the destination page. Treat it as one useful signal, not a final answer.

What are the signs of a phishing URL?

HTTP instead of HTTPS, a raw IP address as the host, deep or misleading subdomains, URL shorteners, risky top-level domains (.xyz, .tk, .top), and suspicious keywords like "verify," "secure," or "login" appearing where they shouldn't.

What is a phishing website?

A phishing website is a fraudulent site designed to imitate a legitimate one — often a bank, email provider, or well-known brand — in order to trick visitors into entering credentials, financial details, or personal information.

What happens if I click a phishing link accidentally?

Simply clicking a link is usually not enough to compromise you, but the destination page may try to collect credentials you enter, or in some cases exploit browser vulnerabilities to install malware. The real risk begins if you enter information or download/run a file.

What should I do if I've already clicked a phishing link?

Do not enter any information on the page. If you already entered a password, change it immediately on the real site and on any other account reusing that password. Run a malware scan if you downloaded or opened anything. Monitor financial accounts if payment details were entered, and report the link to your email provider or IT/security team.

How is this different from other phishing checkers?

Tools like commercial phishing checkers primarily look up a URL against live threat-intelligence databases and follow redirect chains. This project instead predicts from the URL's structure alone, using a locally trained machine learning model — no external services, works offline, but can be less certain on structurally ambiguous URLs. See "How Our System Works" above for a full comparison.

Where does this system fail?

The model can struggle with URLs that are structurally ambiguous — for example, a personal blog on a free hosting platform can look identical, in URL structure alone, to a phishing site hosted the same way. It can also be less confident on unusual-but-legitimate patterns not well represented in training data, such as certain numeric IDs or uncommon path structures. These are documented, known limitations of any lexical-only (text-based) detection approach.

What upgrades are planned for the future?

Planned improvements include incorporating domain age (via RDAP lookup), optional integration with public threat-intelligence feeds for a hybrid verdict, browser extension support, and continued dataset expansion to reduce remaining false positives on unusual-but-legitimate URL patterns.

Tools & Technologies Used

Python scikit-learn pandas Flask HTML / CSS / JavaScript PhiUSIIL Dataset Tranco Top Sites List Git & GitHub VS Code

Project Team

Mithlesh Sah
Rhytham B.C.
Alin Singh
Abhishek Kumar Sah