Spam Probability Checker - Analyze Email & Message Spam Score
Check if your email or message is spam. Analyzes 150+ spam indicators, phishing patterns, and heuristics to calculate spam probability score.
About
Email spam filters use multi-layered heuristic engines that score messages against hundreds of weighted rules. A single misplaced keyword like FREE combined with excessive capitalization can push your message past the spam threshold T ≈ 5.0 on the SpamAssassin scale. Legitimate marketing emails get flagged at rates between 10% and 20%, costing businesses measurable revenue per campaign. This tool runs your text through 150+ pattern detectors covering urgency triggers, phishing signatures, obfuscated characters, and statistical anomalies to produce a composite spam probability Pspam.
The analyzer does not connect to any external service. All processing happens in your browser. It approximates the behavior of Bayesian classifiers by using a curated rule dictionary with empirically assigned weights. Limitations: it cannot evaluate sender reputation, SPF/DKIM headers, or IP blacklists. It analyzes content signals only. For production mail campaigns, cross-reference results with tools like Mail-Tester that inspect delivery infrastructure.
Formulas
The composite spam probability is computed by summing weighted category scores and normalizing through a sigmoid function to bound the output between 0 and 100%.
where wi is the weight of the i-th rule and mi is the match count (typically 0 or 1, but frequency-scaled for repeated triggers).
where k = 0.35 controls the steepness of the curve and T = 8.0 is the midpoint threshold calibrated against SpamAssassin defaults. A raw score of 5.0 yields approximately 25% probability. A score above 15 yields > 90%.
Additional heuristic signals are computed as ratios:
where Rcaps > 30% triggers the ALL CAPS penalty. Similarly, Rdigits measures numeric character density and Rspecial measures non-alphanumeric pollution.
Reference Data
| Spam Indicator Category | Example Triggers | Typical Weight | SpamAssassin Rule | Risk Level |
|---|---|---|---|---|
| Urgency / Pressure | "Act now", "Limited time", "Expires today" | 2.5 | URGENCY_PHRASES | High |
| Financial Bait | "$$$", "Million dollars", "Wire transfer" | 3.0 | MONEY_PHRASES | Critical |
| Pharmaceutical | "Viagra", "V1@gra", "Pharmacy", "Pills" | 3.5 | DRUGS_ERECTILE | Critical |
| Phishing / Identity | "Verify your account", "SSN", "Password" | 3.8 | PHISHING_PHRASES | Critical |
| Free Offers | "Free gift", "No cost", "Complimentary" | 2.0 | FREE_OFFERS | Medium |
| ALL CAPS Ratio | > 30% uppercase characters | 1.8 | UPPERCASE_50_75 | Medium |
| Excessive Punctuation | "!!!", "???", "$$$", "***" | 1.5 | EXCL_MARKS | Medium |
| Suspicious URLs | IP-based links, URL shorteners, .xyz/.tk | 2.8 | SUSPICIOUS_URL | High |
| Character Obfuscation | "Fr33", "W1n", "C@sh", zero for O | 3.2 | OBFUSCATED_WORDS | Critical |
| Unsubscribe Absence | Marketing email without opt-out | 1.0 | NO_UNSUBSCRIBE | Low |
| Crypto / Investment | "Bitcoin", "NFT", "ROI guaranteed" | 2.5 | CRYPTO_SPAM | High |
| Adult Content | Explicit terms, dating scam phrases | 3.5 | ADULT_CONTENT | Critical |
| Lottery / Prize | "You've won", "Congratulations", "Claim" | 3.0 | LOTTERY_PRIZE | Critical |
| HTML Anomalies | Invisible text, tiny fonts, hidden divs | 2.2 | HTML_TRICKS | High |
| Sender Impersonation | "From: support@", "Dear Customer" | 2.0 | IMPERSONATION | High |
| Emotional Manipulation | "Help me", "Dying wish", "Orphan" | 2.8 | EMOTIONAL_MANIP | High |
| Malware Indicators | ".exe", ".scr", "Download attachment" | 3.5 | MALWARE_ATTACH | Critical |
| Generic Greeting | "Dear Sir/Madam", "Dear Friend" | 1.2 | GENERIC_GREETING | Low |
| Digit Ratio | > 15% digits in text body | 1.3 | HIGH_DIGIT_RATIO | Low |
| Short Body + Link | Message under 20 words with URL | 2.0 | SHORT_BODY_URL | Medium |
| Encoding Tricks | Base64 body, Unicode homoglyphs | 3.0 | ENCODING_TRICKS | Critical |