How to delete tweets by keyword
Sometimes the problem is not old posts but certain posts: everything about a former employer, an ex, a project you left, a team or a political topic. X has no way to delete posts by word, so you need to find them first.
Find your posts that mention a word
X search can find your own posts that contain a word or a hashtag:
from:yourname keyword
from:yourname #hashtag
Open each result and delete it with the ··· (More) icon. Search may not return every old post, and each one is still a separate deletion.
Delete tweets by keyword with Tweet Cleaner
Tweet Cleaner for X searches the text of your loaded posts on iPhone and iPad.
- Connect your X account and let the app load your posts.
- Type the word. Open the filter and enter it in Contains. Matching ignores upper and lower case, so “Project” also finds “project”.
- Review the matches. Tap Select All, then deselect any post you want to keep. A word can appear in posts you did not expect.
- Tap Delete. The app removes the selected posts and shows which deletions X confirmed.
The keyword filter combines with the others: the word only in posts older than a year, only in replies, or only in a date range.
The app includes 20 deletions so you can try it on your own account. Optional coin packs are available in the app for larger clean-ups, and a coin is used only for a deletion that is confirmed.
Keyword tips
- One phrase at a time. The filter matches the text you type as one piece. For several words, run one clean-up per word.
- Hashtags work too. Type the hashtag with its # to find posts that use it.
- Short words match more. “art” also matches “start” and “party”. Use a longer word or a phrase when you get too many results.
- Names change form. Search for the shortest form that is still unique, then review the list.
Frequently asked questions
Will this delete other people’s posts that mention the word?
No. The app only works on your own posts. Other people’s posts and replies belong to them.
Does it search inside images?
No. The filter matches the text of the post. A word that only appears in a photo will not be found.
Related guides
To delete posts from a period instead, see How to delete old tweets by date. To clear reposts, see How to delete reposts on X.