Junk Text Filter: Block Spam Texts
by Keyword on Android

October 23, 2026  ·  VARØ Industries
← Back to Blog

For a few weeks the same spam text kept showing up on my phone. Different number every time, same junk every time, always with the letters “TSS” in it. I'd block the number. The next one came from somewhere else. Blocking a number only stops that number, and the people sending these have an endless supply of them.

What I wanted was simple: if a text says this, I don't want to hear about it. Google Messages can block numbers and has its own spam detection, but it has no setting for blocking a text by what it says. So I built one.

Junk Text Filter is a small, free Android app that silences texts by keyword. It works with SMS, MMS and RCS in Google Messages, and nothing it reads ever leaves the phone.

Junk Text Filter home screen showing Filtering is active and a TSS whole-word rule Test a message screen and the caught messages counter Caught messages card and the watched apps setting

Rules, a built-in tester, and a log of everything it caught.

How It Works

Here's the catch with RCS, the modern chat-style texting in Google Messages: Android doesn't let any other app read those messages. A traditional SMS filter can't see them at all. What Android does allow, with your permission, is reading notifications — and Google Messages posts the same kind of notification whether a text arrived as SMS, MMS or RCS.

So Junk Text Filter watches those notifications. When one comes in, it checks the sender and the text against your rules. If a rule matches, it marks the conversation as read and clears the notification before you're bothered by it, then writes the message to a log so you can see what it caught.

Rules That Fit
Whole word, contains, or a regular expression. Match the message, the sender, or either one, with or without case.
Test Before You Trust
Type a sample text into the tester and it tells you which rule would catch it, if any. No waiting for the next spam to arrive.
A Log of Every Catch
Sender, text, time and the rule that matched. Nothing is lost — it just doesn't interrupt you.
Report in One Tap
Open a caught message and tap Report to 7726. Your texting app opens with the spam ready to forward to your carrier.

That last one matters. US carriers take spam reports at 7726 — it spells SPAM on a keypad. You forward the text, and the carrier usually replies asking which number sent it. The app fills in the forward for you and copies the sender's number so you can paste it when they ask. Reports are how carriers find and shut down these senders, which does more than any block list.

What It Can't Do

Android draws some firm lines around other people's messaging apps, and I'd rather you know them up front.

Nothing Leaves Your Phone

An app that reads your text notifications should be held to a high bar, so here it is plainly: Junk Text Filter has no internet permission. It physically can't send anything anywhere. There's no account, no analytics and no ads. Your rules and the log live in the app's private storage, and they're excluded from Android backups too. Before it asks for notification access, the app shows you exactly what it reads and why, and waits for you to agree. The full details are in the privacy policy.

Installing from outside a store? Android will probably show “Restricted setting” when you go to turn on notification access. That's normal for sideloaded apps. Open the app's App info screen, tap the ⋮ menu, choose Allow restricted settings, and try again.

Get It

Junk Text Filter runs on Android 9 and newer. You can download it directly from the Junk Text Filter page right now, which also walks through installing it step by step. A Google Play release is on the way, and when it lands, updates will come through the Play Store automatically.


Check out more free tools and apps at varo.industries/apps.

Frequently Asked Questions

Can Google Messages block texts that contain a certain word?
No. Google Messages can block a number and runs its own spam detection, but it has no setting to block or filter texts by keyword. Junk Text Filter adds that by watching the app's notifications.
Does Junk Text Filter work with RCS messages?
Yes. Android doesn't let other apps read RCS messages directly, but Google Messages posts the same kind of notification for SMS, MMS and RCS. Junk Text Filter reads those notifications, so it catches all three.
Does Junk Text Filter delete spam texts or move them to the spam folder?
No. Android doesn't allow other apps to delete messages or move them to spam. Junk Text Filter dismisses the notification and marks the conversation as read, so you aren't bothered, and logs the message so you can report it.
Does Junk Text Filter send my messages anywhere?
No. The app has no internet permission at all, so it can't send anything. Your rules and the log of caught messages stay in the app's private storage and are excluded from backups.
How do I report a spam text to my carrier?
US carriers accept spam reports at 7726, which spells SPAM. Forward the text there and the carrier usually replies asking for the number it came from. Junk Text Filter does the forwarding step for you from its log and copies the sender's number.
Why does Android say “Restricted setting” when I try to turn it on?
Android adds that step for apps installed from outside an app store. Open Junk Text Filter's App info screen, tap the three-dot menu, choose Allow restricted settings, then turn on notification access again.

Sources & References

  1. Junk Text Filter — download and install guide
  2. Junk Text Filter Privacy Policy
  3. Ask Jerry: How can I filter incoming messages? — Android Central
  4. NotificationListenerService — Android Developers