Why public "receive SMS online" sites break your tests (and what to use instead)
Searching for "receive SMS online" gives you dozens of free sites with public phone numbers. For a test suite they cause more problems than they solve.
Problem 1: everything is public
Every text sent to those numbers is shown on a web page anyone can open. If you test a real login flow, anyone watching the page sees your test user's code. Some people scrape these pages exactly for that.
Problem 2: numbers are shared and unstable
Thousands of people use the same few numbers. Your test can read someone else's code that arrived at the same moment. And the numbers change or disappear without notice, so tests that pass today fail tomorrow for no reason in your code.
Problem 3: no API you can rely on
Most of these sites have no real API. Tests end up scraping HTML that changes, with captchas and ads in the way. When one of the big services in this space shut down, many developers found out how much their CI depended on it.
Problem 4: many apps block them
Because these numbers are so widely abused, fraud filters in many SMS and identity services flag them. Your test may fail because the number is blocked, not because your app is broken.
What to use instead
A private number that only your account uses, with a proper API:
- Private: texts are visible only to your account.
- Stable: the number stays yours while your plan is active.
- Real API: read texts as JSON with a key, no scraping.
QuickInbox includes a US number like this in every paid plan. See which phone numbers to use for testing and the SMS testing API.
A note on fair use
Test numbers are for testing your own apps. Using any number to get around another service's verification breaks their rules, and it's not what these numbers are for.
Related guides
- How to test SMS 2FA login in CI with GitHub Actions
- SMS verification API for testing OTP codes
- Disposable phone numbers for testing: what to use and what to avoid
- How to test SMS OTP codes in Playwright
- SMS testing overview
Get a test number: every paid QuickInbox plan includes a real US phone number and a monthly SMS allowance, with plans from $9 a month. Extra packs start at $5 a month. See SMS testing and pricing.