WhatsApp Template Message Specs: Media and Text Limits
WhatsApp Business Platform template specs: 60 character header, 1,024 character body, button limits, and image, video and document file sizes.
A WhatsApp marketing template can have one header (text up to 60 characters, or an image, video, document or location), a body of up to 1,024 characters, a footer of up to 60 characters and up to 10 buttons with 25 characters of text each. Header images must be JPEG, PNG or static WebP up to 5 MB, and videos MP4 or 3GP up to 16 MB. These limits are as of December 2026, so check the platform's ad guide before you upload, because specs change.
- Header text
- 60 characters, 1 variable
- Body
- 1,024 characters, required
- Footer
- 60 characters, text only
- Buttons
- Up to 10, button text 25 characters
- Header image
- JPEG, PNG or static WebP, up to 5 MB
- Header video
- MP4 or 3GP, H.264 and AAC, up to 16 MB
WhatsApp template text limits
A message template is a pre approved message you send through the WhatsApp Business Platform (the Cloud API). Marketing templates carry offers, launches and reminders. Only the body is required. Everything else is optional, and each template can have only one header, one body and one footer.
| Part | Limit | Variables |
|---|---|---|
| Header (text) | 60 characters | 1 allowed |
| Header (media) | One image, video, GIF or document | Not applicable |
| Header (location) | Map pin, utility or marketing templates only | Not applicable |
| Body | 1,024 characters | Several allowed |
| Footer | 60 characters, text only | None |
Header media file types and sizes
If you use a media header, the file must meet WhatsApp's media rules. Images bigger than 4,096 pixels on any edge are rejected, and they must be 8 bit RGB or RGBA. Static WebP images are converted to JPEG; animated WebP is refused.
GIF headers are really short MP4 files of up to 3.5 MB, and Meta says they are only available through the Marketing Messages API.
| Media | File types | Max size | Notes |
|---|---|---|---|
| Image | JPEG, PNG, static WebP | 5 MB | No edge over 4,096 pixels |
| Video | MP4, 3GP | 16 MB | H.264 video, AAC audio |
| GIF | MP4 | 3.5 MB | Marketing Messages API only |
| Document | PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, TXT | 100 MB | PDF is the safest choice |
Button types and how many you can use
You can add up to 10 buttons in total, but each type has its own cap. Button text is always 25 characters or fewer.
When a template has more than 3 buttons, only 2 show at first and the rest hide under 'See all options'. Templates with 4 or more buttons, or with quick replies mixed with other types, cannot be viewed on WhatsApp desktop. If you mix quick replies with other buttons, the quick replies must be grouped together, either before or after the rest.
| Button type | Max per template | Other limits |
|---|---|---|
| Quick reply | 10 | Text 25 characters |
| URL (visit website) | 2 | Text 25 characters, URL 2,000 characters, 1 variable at the end |
| Phone number | 1 | Text 25 characters, number 20 characters |
| Copy code | 1 | Example code 20 characters |
How do variables work in WhatsApp templates?
Variables are placeholders that you fill in when you send, like a customer's name or an order number. The text header allows one variable, the body allows several, and a URL button allows one, added to the end of the link.
You must give sample values for every variable when you submit the template, so the reviewer can see what a real message looks like. Variables can be named or numbered. When you fill a URL button variable, encode special characters such as spaces, or the message can fail to send.
Video headers: the setting that trips people up
Meta's media docs carry a warning that saves a lot of confused support tickets. Android WhatsApp does not support H.264 'High' profile video with B frames. Export with H.264 'Main' (no B frames) or 'Baseline' instead. Also move the file's index to the start (in ffmpeg this is the faststart option), so the video starts playing quickly.
Keep video headers short. At 16 MB you can fit a clear 15 to 30 second clip at phone resolution, which is plenty inside a chat.
Common reasons templates get rejected or fail
Meta reviews every template before you can use it. These are the issues that most often cause trouble.
- Variables without sample values, or samples that do not match the message.
- A body that is mostly variables, so the reviewer cannot tell what will be sent.
- Header images over 5 MB, or with an edge longer than 4,096 pixels.
- Videos over 16 MB, or in a format other than MP4 or 3GP.
- Button text longer than 25 characters.
- More than 2 URL buttons or more than 1 phone button.
- Misleading or pushy wording that does not match the marketing category rules.
Design checklist for a WhatsApp marketing template
Go through this list before you submit.
- Header image sized for phones (a 1:1 or wide image under 5 MB works well), with the product clearly visible.
- Body under 1,024 characters; aim for a few short lines people can read in one glance.
- Every variable has a realistic sample value.
- Footer used for small print, such as how to stop receiving messages.
- Buttons limited to 2 or 3 so all of them show without 'See all options'.
- Video exported as H.264 Main or Baseline with AAC audio, under 16 MB.
How WhatsApp marketing messages perform best
WhatsApp is a personal space. People read messages from family and friends there, so a marketing template should feel like a helpful note, not a flyer. Use the customer's name, give one clear offer, and make the button say exactly what happens, such as View offer or Track order.
Only message people who have agreed to hear from you, and do not send too often. In markets like India and the Middle East, where WhatsApp is the main way people chat, a short, relevant message with a strong image can work very well for sales and repeat purchases.
Sources
- Meta for Developers: WhatsApp message template components
- Meta for Developers: WhatsApp Cloud API supported media
Read next
- Facebook Feed Ad Size: Images, Videos and Text Limits
- Google Display Ad Sizes: Every Banner Size and the 150 KB Rule
- Instagram Stories Ad Size: Specs, Safe Zones and Tips
Frequently asked questions
Is there a best image size for a WhatsApp template header?
Meta does not set a fixed pixel size for template header images. It sets a 5 MB limit, JPEG, PNG or static WebP formats, and a maximum of 4,096 pixels on any edge. In practice, a clean square or wide image around 1000 pixels across looks sharp in chat and stays well under the file limit.
Can I send a PDF brochure in a WhatsApp template?
Yes. A document header can be a PDF, Word, Excel, PowerPoint or text file of up to 100 MB. PDF is the safest choice because it opens on almost every phone. Keep it small so people on mobile data can download it quickly.
Why do my buttons not show on WhatsApp desktop?
Meta says templates with 4 or more buttons, or with quick reply buttons combined with other button types, cannot be viewed on WhatsApp desktop. If many of your customers use desktop, keep to 3 buttons or fewer, and avoid mixing quick replies with link or phone buttons.
Can I use emoji in WhatsApp templates?
Meta's template component page does not ban emoji in the body text, but every emoji counts toward the 1,024 character limit. Use them sparingly so the message stays easy to read. Check the latest template guidelines before relying on them in headers or buttons.