A lot of spam repeats itself: the same loan offers, the same betting sites, the same "final notice". When the senders change but the words don't, blocking by word works better than blocking by number. iPhone doesn't have a keyword filter for texts, but a text filter app can do it.
Block a word with SMS Shield
- Install SMS Shield and turn it on as your text filter (the app shows you how).
- Open SMS Shield, tap Custom Block List and switch to Words.
- Tap Block a Word, type the word and tap Block.
Texts from unknown senders that contain the word now go to the Spam list in Messages.
Text Message
Get approved for a loan up to $50,000 today. No credit check, money in 1 hour. Apply: fastloan.example
How words are matched
- Whole words, by default. Blocking
betcatches "Place your bet now" but not "better" or "alphabet". Turn off Whole Words Only for a word if you want it matched inside longer words too. - Endings with a star.
casino*catches "casino" and "casinos";crypto*catches "cryptocurrency". - Case and accents don't matter.
gratiscatches "GRATIS" and "grátis". - The sender's name counts too. A blocked word also matches the sender, so
promocatches texts from a sender called PROMO-DEALS.
Good words to block, and words to leave alone
Pick words that only spam uses: names of betting sites, "loan approved", "crypto", a spam brand that keeps texting you. Avoid everyday words like "delivery", "account" or "payment", because real texts from your bank or a courier use them too.
Your blocked words apply to every text, codes and bank alerts included, which is why everyday words are a bad idea. SMS Shield AI never sends codes or bank alerts to Spam by itself, and anything on your Allow List always gets through, even if it contains a blocked word.
Questions
Does iPhone have a built-in keyword filter for texts?
No. iOS can sort texts from unknown senders into separate lists and block single numbers, but it has no setting to filter texts by the words in them. That takes a text filter app.
Will it filter texts from my contacts?
No. iOS never passes texts from your contacts to a filter, so a blocked word can't hide a message from someone you know.
Can I block emoji or links?
SMS Shield blocks suspicious links by itself (Filter Options). For a specific site, block a word from its address.