WhatsApp template with line breaks or strange characters: how to fix it
If your WhatsApp template reaches the customer with extra line breaks, with a "\n" written literally, with accents turned into strange symbols, or with characters you didn't add, nothing serious broke: it's almost always a problem with how the text was uploaded, not with Meta's API. It can be fixed, and in most cases you can solve it yourself from the panel where you created the template. What's worth understanding is where those characters come from, because otherwise you'll upload the same template again and the error will reappear just the same.
This guide is for business owners and support teams, not for programmers. All the steps are done without touching code. When something depends on Meta's configuration and not on your text, you'll see it clarified, because in those cases the resolution time varies and you may have to escalate.
What it means for the template to arrive with strange characters
A WhatsApp template is a fixed text that Meta approves in advance and that is then sent to many contacts. That text travels as a string of characters and is displayed on the customer's screen exactly as it was saved. If control characters, escaped quotes, or escape sequences slipped in when it was saved, the customer sees them literally. A typical restaurant case: the order confirmation template says "Your order is on its way\nArrives in 30 minutes" and the customer reads the backslash and the n instead of seeing the line break. Or in a real estate agency, the visit template shows "Address:\nAv. Corrientes 1234" all stuck on one line.
The typical symptoms are these:
- A \n written with the backslash appears instead of a real line break.
- The message has extra line breaks, or all the text got stuck in a single block.
- Accents, the letter ñ, or opening punctuation marks (¿ ¡) come out as little squares, question marks, or strange symbols.
- Stray asterisks, underscores, or bars appear that weren't part of the message.
- The spacing changed: double spaces disappeared or tabs were added.
None of this prevents the message from being delivered. The customer receives it, but it looks bad, and a poorly formatted template lowers trust right at the first contact. That's why it's worth fixing it before using it in a large campaign.
Why those characters appear: the most common causes
The origin is almost never the WhatsApp network. It is the path the text took from the moment you wrote it until it was saved as a template. These are the causes we see most often:
- You pasted the text from another program. When copying from a document, an Excel file, or an email, invisible characters (paragraph breaks, tabs, curly quotes) get dragged along, and WhatsApp displays them differently.
- You typed \n by hand thinking that is how the line break is made. The backslash plus the n is a way to represent a line break in programming, not in the final text. If you type it, it shows up just like that.
- The text went through a spreadsheet or a form that escaped the characters. Some tools convert real line breaks into \n and quotes into \" when exporting. If you then copy that into the template, it keeps the backslashes visible.
- The file or the system is not in UTF-8. Accents and the letter ñ need UTF-8 encoding. If the text was saved in another encoding, those characters turn into symbols.
- You mixed WhatsApp formatting with formatting from somewhere else. Asterisks for bold and underscores for italics are WhatsApp's; if you combine them with HTML or Markdown tags, they show up as loose symbols.
- The line break comes from a variable. If your template uses variables and the value you enter has line breaks inside it, those line breaks appear in the middle of the message.
None of these causes is a Meta API error. They are formatting problems in the text you entered, and that is why they are fixed by editing the template, not by waiting for Meta to do something.
How to fix it step by step (without code)
Follow these steps in order. Before touching anything, save a copy of the current text in a notepad so you do not lose the wording you already had approved.
- 1Open the template in the panel where you created it and copy all the text into a simple notepad (Windows Notepad or TextEdit in plain text mode). This removes the hidden formatting the text is dragging along.
- 2From that notepad, manually replace each \n you see with a real line break: put the cursor where the backslash was and press Enter. Repeat with each one.
- 3Delete the extra spaces and line breaks at the beginning and end of the text. Leave a single line break between paragraphs.
- 4Check the accents, the letter ñ, and the opening punctuation marks. If they appear as strange symbols, delete them and type them again from your keyboard in the notepad.
- 5Check the WhatsApp formatting: one asterisk on each side for bold, one underscore on each side for italics, one tilde on each side for strikethrough. Make sure none are left loose or mixed with other tags.
- 6If you use variables, check that the value you are going to enter does not have line breaks inside it. If your replacement text has line breaks, they will appear in the final message.
- 7Copy the now-clean text from the notepad and paste it into the template field. Save.
- 8Send the test template to your own WhatsApp number and look at it on the phone, not just on the computer. There you will see exactly what the customer sees.
- 9If the test text still comes out wrong, repeat from step 1 with a different notepad: the first one may be saving in a format that adds characters.
Once the text is clean and you send it again to your own number, the problem should disappear. If after this cleanup the template still arrives with strange characters, then what you see is not coming from the text: go to the section below.
The problem may be in the already-approved template, not in your text
If you cleaned up the text, tested it on your phone and it looks fine, but customers keep receiving the old version with the strange characters, it is likely that you are sending a template that was already approved with the error inside it. Approved templates do not fix themselves: you have to edit them and send them through review again.
The WhatsApp template approval period is up to 48 hours, and that is the only time frame that can be stated: Meta does not guarantee any other. While the corrected version is under review, the old version can still be sent. If your campaign is urgent, it is best to pause sends of that template until the corrected one is approved.
For the exact details of how a template is edited and resubmitted for review, the source is Meta's official documentation on message templates. The steps in the dashboard can change and it is best not to rely on old versions.
How to prevent it from happening again
The underlying cause is almost always the same: the text went through too many programs before reaching the template. These habits save you the problem:
- Write the template directly in the field where you are going to save it, not in a separate document that you copy afterward.
- If you have to draft it beforehand, use a plain text notepad and paste it from there. Never copy from a formatted document, a spreadsheet or an email.
- Do not type \n to create line breaks. Press Enter.
- Before saving, check that there are no double spaces or extra line breaks between paragraphs.
- Test each new template on your own number before using it with customers.
- If several people on the team create templates, leave a clean base template as a model and have everyone start from there.
- Save a plain text version of each approved template, so you have somewhere to copy from if something breaks.
When the real problem is something else and this symptom is only the tip
Not everything that looks wrong in a message is a formatting problem. There are three similar situations worth distinguishing, because they are fixed in a different way:
- When the access token expired or was misconfigured, messages don't arrive or fail to send. It's not a text problem: it's a connection problem with the account.
- When the template was rejected by Meta, the send doesn't go out. The message doesn't arrive badly, it simply doesn't arrive. There the problem is the content or the template category, not the characters.
- When the business number has low account quality or is restricted, sends are limited or blocked. Again: it's not formatting, it's account status.
The quick way to tell them apart: if the message ARRIVES but looks bad, it's formatting. If it does NOT arrive, it's connection, approval, or account status. They are two different paths and it's best not to mix them, because you'll waste time cleaning up text that was fine.
If you work with a tool that suggests replies and you approve them, like Wando, you still write and review the template text yourself. The tool doesn't invent the formatting or change it on its own: what you load is what gets sent. That's why cleaning up the text is still your job, and testing on your own number before the campaign is still the best check.
What to review before considering the fix done
Before using the template with customers again, check these points. If they all pass, the problem is solved:
- The text has no backslashes and no standalone letter n with tilde.
- Accents, the letter n with tilde, and opening punctuation marks look correct on the phone.
- The line breaks are the ones you want: neither too many nor too few.
- WhatsApp formatting (bold, italics, strikethrough) looks as you expected.
- The variables were replaced with the correct value, with no strange line breaks inside.
- The test arrived at your number and looks the same on Android and on iPhone.
- The version customers are receiving is the corrected one, not the old one.
If after all this the problem continues, gather the evidence before escalating: a screenshot of how the message looks on the phone, the exact text you loaded, and the date and time of the test send. With that, whoever supports you can see whether the problem is in the template, in the account, or in the message path.
Frequently asked questions
Why does my WhatsApp template show \n instead of a line break?+
Because you typed the backslash and the n by hand, thinking that's how a line break is made. In the final text it shows up exactly like that. It's fixed by deleting those two characters and pressing Enter in their place.
Can accents and the letter ñ break in a WhatsApp template?+
Yes, if the text was saved in a coding that isn't UTF-8. Characters with accents and the letter ñ turn into symbols. The solution is to retype them from your keyboard in a plain-text notepad and paste the text again.
Does pasting text from Word or Excel break the template?+
It can break it, because it drags along invisible characters like tabs, typographic quotes, and paragraph breaks that WhatsApp displays differently. The safest option is to always paste from a plain-text notepad.
I already cleaned the text but customers keep receiving the version with strange characters. What's going on?+
You're probably sending a template that was already approved with the error inside. Approved templates don't fix themselves: you have to edit them and send them through review again. The approval time is up to 48 hours, and in the meantime the old version can keep going out.
Does changing the template's formatting make Meta reject it?+
WhatsApp formatting (bold, italic, strikethrough) is valid. What can cause problems is mixing that formatting with tags from other systems, or the text carrying control characters. For the exact approval criteria, the source is Meta's official documentation.
How do I test the template without sending it to a customer?+
Send it to your own WhatsApp number and look at it on the phone, not on the computer. There you'll see exactly what the customer sees, including the line breaks and the strange characters if any are left.
The message doesn't arrive at all. Is it the same problem?+
No. If the message arrives but looks wrong, it's a text formatting problem. If it doesn't arrive, the problem is something else: it could be an expired access token, a template rejected by Meta, or a restriction on the business number. They're two different paths and they're fixed in different ways.
Answer WhatsApp with AI
Try Wando free. No credit card required.