A virtual number is one answer to "I need to receive a code". It is rarely the cheapest and often not the right one. Here is the full set, sorted by what you are actually trying to do.
People arrive at this category with five or six different problems that all look like "I need a phone number". Separating them is most of the work — the tool follows from the problem.
| Your situation | Best route | Why not a virtual number |
|---|---|---|
| You don't want your real number on a marketing list | Email alias, or a second real SIM | You still need the account later; a disposable number gives you no recovery |
| You need a code from a country you're not in, once | Pay-per-number platform | This is exactly the case they exist for |
| You need to hold a foreign number for months | Long-term rental or an eSIM | Single-use numbers expire in 20 minutes |
| You're testing your own app's signup flow abroad | Provider with an API | Manual purchase does not scale; you need programmatic numbers |
| An account is asking you to re-verify a number you no longer have | Nothing works — start the recovery process | The number is the credential; no third party can restore it |
| You want to avoid SMS 2FA entirely | TOTP authenticator app or a passkey | The number is the weak point, not the solution |
Dozens of sites publish numbers whose incoming SMS is displayed openly on a web page. They cost nothing and they almost never work for anything that matters.
The reason is structural rather than a matter of quality: those numbers are visible to everyone, have been used for thousands of registrations, and are on every anti-fraud list in the industry. You will occasionally get a code from a small service that has not yet blocked them — which is exactly why the free sites stay popular — but you are also reading other people's messages, which is not a habit worth building.
Use when: you want to understand the flow before paying, or the target is a throwaway service.
Do not use when: the account has any value, or the code belongs to someone else.
The unglamorous answer that wins most comparisons. A prepaid line costs roughly what two or three months of rental costs, keeps working indefinitely as long as you top it up occasionally, and — the part nobody prices in — can still receive a recovery code in five years.
Limits: you need a local retailer or a carrier that will post a SIM to you, and roaming charges apply if you use it abroad. For a number you intend to keep, this is almost always the correct choice.
Travel eSIMs have become the middle path. Many are data-only and cannot receive SMS at all — check before buying, because the marketing rarely says it clearly. Those that do include a number usually give you a real one from a real carrier, which is what makes them work where virtual ranges are blocked.
Cost sits between a prepaid SIM and a rental, and the number typically lives as long as the plan. Good for a month abroad; poor for a one-off code, since you pay for the whole plan.
The category this site covers. The right tool for a single verification in a country you cannot otherwise reach, and the wrong tool for anything you need to keep. Within the category the differences matter more than the headline price:
HeroSMS, which inherited the SMS-Activate supplier network and reports the highest success rate we track. It is also the most expensive of the cheap options. See HeroSMS.
SMS-Man takes PayPal, cards, Apple Pay, Alipay, WeChat Pay and crypto, and rents numbers for up to 90 days. The fallback when crypto is not an option. See SMS-Man.
TextVerified specialises in US numbers for services that reject everything else. You pay several times the going rate for that specificity. See TextVerified.
If you are testing your own product rather than verifying someone else's, the requirement is different: you need numbers programmatically, in a specific country, with a predictable failure mode. Every major platform on this site exposes a REST API; the practical differences are rate limits, whether the number can be reused for the same service, and whether failures refund automatically.
For test suites, budget for a failure rate rather than assuming success. A 90% success rate means one in ten assertions fails for reasons unrelated to your code — plan the test around it instead of debugging it as a product bug.
Worth saying plainly, because it is the option most people skip:
You want to read a regional news site that geoblocks, and it wants a local number once. The virtual number costs about $0.05 and works. Total cost: five cents and four minutes.
You want a local number for a bank account you will hold for years. The virtual number costs $0.05 and destroys your ability to recover the account. The prepaid SIM costs thirty times more and is the only defensible choice. Same category of request, opposite answers — which is why the table at the top of this page starts with the situation rather than the product.