OTP full form is One-Time Password. An OTP is a short code, usually 4 to 6 digits, that a bank, app or website sends to your phone to check that it is really you. It works only once and only for a few minutes, so an old code is of no use to anyone who sees it later.
Read this in Hindi: OTP क्या होता है (OTP kya hota hai).
OTP meaning in simple words
Think of an OTP as a key made for one door, one time. When you log in or pay, the service creates a fresh random number and sends it only to the mobile number or email it has for you. You type it back. If it matches, the service knows you hold that phone.
A password stays the same for months. An OTP changes every time, and a used or expired code cannot open anything again.
| Question | Short answer |
|---|---|
| OTP full form | One-Time Password |
| What it looks like | A short number, usually 4 to 6 digits, such as 482913 |
| How long it works | A few minutes, set by the sender |
| How many times | Once |
| How it arrives | SMS, WhatsApp, email or inside an app |
| Can you share it? | No. Never tell your OTP to anyone. |
Where you see OTPs every day
- Card payments: when you pay online with a debit or credit card, your bank sends an OTP to your registered mobile. The payment goes through only after you type it.
- Login: many apps send an OTP instead of a password, or along with it.
- UPI and banking apps: they check your number when you set them up on a new phone, and setting or resetting your UPI PIN needs an OTP from your bank.
- Deliveries: some parcels come with a delivery OTP. You tell it to the delivery person only when the parcel is in your hands.
- Sign-up and account changes: creating an account or changing a password or bank details often needs an OTP.
How an OTP works, in 4 steps
-
You ask for a code
You type your mobile number on a login page, or you press Pay.
-
The service makes and sends the code
Its system creates a random code, notes the time and sends the code by SMS, WhatsApp or email.
-
You type the code
You enter the code from the message into the box. Many phone keyboards offer to fill it in from the SMS.

An OTP box on a sample sign-up page, made with the Fast2SMS OTP Widget. -
The system checks it
If the code is right, has not been used and has not expired, you are let in. If not, you see an error and can ask for a new code.
A code works only once. When a new OTP is sent to the same number, older codes usually stop working, so always type the newest one.
Why does an OTP expire?
An OTP expires so that nobody can use it later. If a code stayed valid for days, anyone who saw your screen or phone could use it. A short limit, often 5 to 10 minutes, closes that gap. Most OTP messages say it, for example “Valid for 10 minutes”.
The company that sends the OTP sets the time. If the code expires, just ask for a new one. Businesses can read about the usual choices in OTP expiry time and length.
What is an OTP number?
“OTP number” usually means the code itself. Sometimes it means the number the OTP came from. Business OTP SMS in India usually show a short sender name, such as XY-DEMOTR, not a 10-digit mobile number, because businesses register sender names on DLT, the system Indian operators run under TRAI rules. A WhatsApp OTP comes from the business’s WhatsApp number.
Types of OTP
| Type | How you get it | Good to know |
|---|---|---|
| SMS OTP | A text message on your mobile | Works on any phone without internet. It needs mobile signal. |
| WhatsApp OTP | A WhatsApp message from the business | Needs internet. It can have a Copy code button. |
| Email OTP | An email | Some websites use it for login or for account changes. |
| Authenticator app code | A code shown inside an authenticator app on your phone | A new code every 30 seconds or so. No SMS is needed. |
For how SMS and WhatsApp compare for a business, see WhatsApp OTP vs SMS OTP.
OTP not received? Quick tips
- Check the number you typed and that the SIM is in this phone.
- Check signal. Turn airplane mode on and off, or restart the phone.
- If your SMS inbox is full, delete some old messages.
- Look in the spam or blocked folder of your messages app.
- Wait for the resend timer, then use only the newest code.
DND (Do Not Disturb) does not stop OTPs sent with a transactional DLT template. If your own users report missing codes, see the OTP not received checklist and the guide to OTP SMS not received on Airtel, Jio, Vi or BSNL.
For businesses: how to send OTPs
If you run a website, app or online store, you can send OTPs to your customers with Fast2SMS. We recommend Smart OTP: Fast2SMS creates the code, sends it on SMS or WhatsApp on a priority route, and checks it when your customer types it. If the first channel fails, it can send the same code on the other one. Without any coding, the free hosted OTP Widget puts a ready verification box on your website. (If your app already makes and checks its own codes, you can also use the DLT SMS API with your approved DLT OTP template.)
Before you start: you need wallet balance. For SMS OTP, add your approved DLT entity, sender ID and OTP template in DLT Manager. For WhatsApp OTP, you need a connected WhatsApp Business number and an approved Authentication or Utility template.
-
Create a Smart OTP template
Open Smart OTP and click Add OTP Template. Pick the SMS Channel or WhatsApp Channel, choose your approved template and click the variable that carries the code. Each template gets an OTP ID that your app sends to the API.

Each card shows its OTP ID and a phone preview of the message. -
Add a fallback on the other channel
Tick SET FALLBACK TEMPLATE and, for an SMS template, pick a WhatsApp number and template. If the SMS is reported failed within 120 seconds, the same code is sent once on WhatsApp, charged as its own message.

An SMS OTP template with a WhatsApp fallback. -
Send a test OTP
Click Test OTP on the card, enter a 10-digit mobile number and click Send Test OTP. The window waits for the delivery report. A test is a real OTP, charged like an API send.

Test OTP sends a real code to the number you enter. -
Connect your site and check the report
Sample Code on the card gives ready Send OTP, Verify OTP and Resend OTP code in cURL, PHP, Node.js or Python. Every OTP then shows in Delivery Report. Click a row to see each attempt.

One request, two rows: the failed SMS and the WhatsApp fallback that reached the customer.
API code: OTP SMS API guide. In Hindi: Smart OTP kaise use kare and OTP SMS service kya hai.
No coding? Use the free OTP Widget
The hosted OTP Widget is a ready mobile number verification box. In Smart OTP, click New Widget, name it, choose your OTP ID and list your websites. Then copy two lines from the Install tab onto your page. No server is needed, and your API key never goes on the website. Visitors get a 6-digit code valid for 10 minutes.

For every step, see free OTP widget for your website.
What sending OTPs costs
The OTP Widget is free: no widget, setup or monthly fee. With Smart OTP and the widget you pay only for each OTP sent, from your Fast2SMS wallet. An SMS OTP is charged at your account’s SMS rate for each SMS part, and a WhatsApp OTP at the WhatsApp rate. Test OTPs, resends and fallbacks are charged too. See current rates on the OTP SMS page.
Sending in bulk? For high OTP volumes our team offers discounted rates. Talk to our team or see OTP pricing.
Frequently asked questions
What is the full form of OTP?
OTP stands for One-Time Password. It is a code that works only once and only for a short time.
What is the meaning of OTP in SMS?
An OTP SMS is a text message that carries a one-time code, for example “482913 is your OTP to log in to Demo Traders. Valid for 10 minutes.”
What is an OTP number?
Usually it means the code itself, the digits in the message.
How many digits does an OTP have?
Usually 4 to 6. Six digits are harder to guess.
Is it safe to share my OTP?
No. No bank or company employee will ask for it. Only a delivery OTP is told to the delivery person, once you have the parcel.
Why does my OTP say invalid?
It may have expired, been used, or been replaced by a newer OTP. Ask for a new code and type the latest one.