Will using non-breaking spaces and soft hyphens in email templates affect inbox placement?
Published 5 Jun 2025
Updated 9 Oct 2026
12 min read
Summarize with

Updated on 9 Oct 2026: We clarified hidden spacing risks and added checks for Gmail clipping and Apple Mail summary previews.
Using non-breaking spaces and soft hyphens in an email template does not usually hurt inbox placement by itself. These characters have legitimate typography uses, but their presence alone does not establish how a particular mailbox provider will handle , ­, ‌, or similar characters. The bigger questions are why they are there, how much hidden content the email contains, whether the visible and machine-readable versions agree, and how the delivered message renders in Gmail, Apple Mail, Outlook, Yahoo, and mobile clients.
The common case is hidden preheader padding. It is intended to stop body copy, navigation labels, alt text, or legal text from being pulled into the inbox preview after the intended preheader. That code can look ugly in source, but ugly source is not the same as deceptive source. It still needs testing because some versions leak visible boxes, odd gaps, or stray characters in the preview area.
- Direct answer: Ordinary typography alone is not evidence of a spam filtering problem; hidden padding still needs testing.
- Real risk: Large or misleading hidden blocks can raise spam concerns, while ordinary padding can still cause rendering or accessibility problems.
- Best action: Send real test emails, inspect both MIME parts, check the preview text, and compare results across relevant clients.
How non-breaking spaces and soft hyphens work
Non-breaking spaces, soft hyphens, zero-width non-joiners, and spacing character references have normal uses in HTML, although they do different jobs. Unicode's line breaking rules define a soft hyphen as an optional break inside a word and a non-breaking space as a way to keep adjacent content together. A soft hyphen is normally invisible until a word breaks at that point; it is different from an ordinary visible hyphen. In email, combinations of these characters are also used to control what appears after the preheader in the inbox list. Without padding, a preview that starts with "Your invoice is ready" can continue with "View in browser", "Unsubscribe", a menu label, or body copy.
That is why many templates include a hidden div with spacing entities after the preheader. It is intended to push unwanted content beyond the preview field, but the block should stay short and functional. Gmail's sender guidelines warn against hiding content with HTML or CSS because it can cause messages to be marked as spam. The guidance does not provide an explicit exemption for preheader padding, so common use is not a guarantee of acceptance. Never use the technique for claims, keywords, or meaning that recipients cannot see.
|
|
|
|
|---|---|---|---|
| No-break space (U+00A0) | Keep short phrases together; preheader padding | Long unbroken runs can overflow narrow screens |
­ | Soft hyphen (U+00AD) | Optional word hyphenation | A hyphen can appear at the break; check client rendering |
‌ | Zero-width non-joiner (U+200C) | Control letter joining; preview padding | Preserve language-specific use; test padding artifacts |
  | Figure space (U+2007) | Spacing the width of a digit; preview padding | It occupies visible space and does not guarantee a clean preview |
Character references, Unicode meanings, and behavior to check in email templates.
The answer changes when these characters hide deceptive text, stuff keywords, split words to evade analysis, or make the visible body differ sharply from another message part. That is content obfuscation, and it can overlap with spam filtering logic. W3C's character reference explanation confirms that and   encode the same Unicode character. Changing the entity spelling does not change its meaning or remove the underlying behavior. Use ordinary spaces for normal word separation and table-cell CSS padding for layout gaps instead of long runs of non-breaking spaces.
When hidden spacing becomes a deliverability risk
The practical risk depends on how the characters are used. A concise preheader plus a small padding block has a clear preview purpose. Multiple hidden blocks, large amounts of invisible text, mismatched copy, or broken HTML can make the message harder to render and interpret. Provider guidance against hidden content means the legitimate block should be easy to explain and no larger than the preview workaround requires.
Normal use
- Purpose: Stop filler after a genuine preview line.
- Amount: One short hidden block near the top of the HTML.
- Result: Inbox preview looks intentional and the body renders normally.
Risky use
- Purpose: Hide claims, disguise words, or manipulate filtering.
- Amount: Large hidden blocks or duplicated padding that substantially expands the HTML.
- Result: Preview artifacts, parsing noise, and a visible-to-hidden content mismatch.
Template quality should be evaluated separately from domain trust. A messy template can hurt performance when it breaks layout, makes the email look suspicious, or contributes to poor engagement. It does not replace the basics: authenticated mail, stable sending volume, relevant content, working links, low complaint rates, and a domain without a damaged reputation.
Do not use invisible characters to disguise content
Inserting soft hyphens or zero-width characters to disguise words, or adding hidden copy that contradicts the visible email, conflicts with sender guidance on accurate content. Changing invisible characters does not establish that a filter will miss the underlying text.
If a new template starts performing worse, compare it with the prior template in a real send test rather than blaming one entity. Start with authentication and domain health, then inspect HTML weight, malformed markup, MIME part consistency, links, unsubscribe placement, and preview rendering. Suped's domain health checker checks published authentication DNS before template code is rewritten.
?
What's your domain score?
Deep-scan SPF, DKIM & DMARC records for email deliverability and security issues.
A preheader padding pattern to test
A reasonable hidden preheader has two parts: the preview text people should see, followed by enough hidden spacing to stop the next visible content from being pulled in. It should sit near the top of the body, before the visible header. Keep the block concise, keep its purpose consistent, and avoid copying large runs of invisible characters through nested tables.
Illustrative hidden preheader, test the padding lengthHTML
<div style="display:none;max-height:0;overflow:hidden;mso-hide:all;"> Your order has shipped. </div> <div style="display:none;max-height:0;overflow:hidden;mso-hide:all;"> ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ </div>
That pattern is common, but the short example illustrates structure rather than a padding length that works in every client. Adjust the filler only after delivered-message tests, and do not assume the hiding CSS controls the inbox snippet. A soft hyphen belongs in marketing copy only when there is a specific typography need. Unnecessary soft hyphens can make copy and paste, screen-reader output, or search inside the email less predictable.
Keep preheader padding minimal
- Place it: Put the preheader at the top of the body before visible content.
- Hide it: Use conservative CSS already proven in the template system.
- Limit it: Use one padding block instead of repeated hidden rows across the template.
- Test it: Check inbox preview, dark mode, forwarding, and view-as-webpage output.
The biggest mistake is treating preheader hiding code as a deliverability trick. It is a rendering workaround. It should help the subscriber see the intended preview, not influence a filter. If the source looks rough but the preview is clean, the body renders correctly, and the block contains no misleading text, a full template rewrite is unnecessary.
How to test email rendering and inbox placement
Opening the HTML file in a browser is not enough. Send the finished email through the same platform, envelope, tracking setup, and authentication path that the campaign will use. The delivered MIME message is what the receiving system accepts, filters, and places, not the fragment sitting in an editor.

Email template testing workflow covering preheader previews, delivered HTML, and inbox placement.
- Send real mail: Use the same sending domain, tracking domain, headers, MIME structure, and template processor.
- Check preview text: Check Gmail on Android and iOS, Apple Mail, Outlook, and Yahoo where relevant; include narrow screens and larger text settings.
- Look for artifacts: Watch for little boxes, stray punctuation, unexpected blank preview rows, or visible hidden text.
- Compare versions: Change only the spacing snippet and keep the subject, sending setup, audience split, and timing comparable so other variables do not explain the result.
- Read the result: Treat seed placement as directional, then confirm it with complaint, bounce, click, and conversion data.
For delivered-message checks, Suped's email tester checks authentication results, sending IPs, blocklist (blacklist) status, and unsubscribe headers. Use those results alongside real-client preview checks and inbox placement tests; the technical report does not measure where Gmail or Apple Mail places the message.
Email tester
Send a real email to this address. Suped shows a results button when the test is ready.
?/43tests passed
Check malformed markup separately. Hidden padding often lives inside old table-based HTML where one missing closing tag can cause larger problems than the entities themselves. If there is a broken layout or inconsistent rendering, investigate malformed HTML. If Gmail displays "[Message clipped]", inspect HTML size separately.
Preview text length has no universal character limit. Screen width and user settings change how much text appears; Apple's Mail preview settings allow up to five lines. Put the important words first and keep the message understandable if truncated. Soft hyphens do not guarantee that an inbox snippet ends at a word boundary.
On supported devices with Apple Intelligence summary previews enabled, Apple Mail can show a generated summary instead of the opening text. Test with summary previews on and off; padding cannot force an authored preheader to appear when the client shows a summary.
Check HTML size for Gmail clipping
Repeated padding adds bytes even when it is hidden. Gmail commonly clips large HTML emails around 102 KB, leaving the rest behind "[Message clipped] View entire message". Stack Overflow's newsletter troubleshooting documents this behavior and notes that externally hosted image files do not count toward the code size. Treat 102 KB as an approximate testing threshold, not a guaranteed boundary.
Clipping is a display issue, not proof of spam placement or failed delivery. It can hide a footer unsubscribe link or a tracking pixel until the recipient opens the full message, making navigation harder and open tracking less reliable.
- Measure the final delivered HTML after personalization and tracking links are added; the editor's source size is not enough.
- Reduce duplicated padding and unnecessary markup, leaving room below the approximate clipping threshold.
- Check the footer and unsubscribe link in Gmail on desktop and mobile after each size change.
- Use clicks, conversions, and complaints alongside rendering tests instead of treating a change in tracked opens as proof of a placement change.
Keep the plain-text part consistent
HTML email is often sent as multipart/alternative, with text/plain and text/html versions of the same message. Invisible preheader padding belongs only in the HTML part. The plain-text part should contain readable preview and body copy without literal entity strings such as or ­.
A mail client can display the plain-text version, and filtering systems can inspect both alternatives. The parts do not need identical formatting, but they should communicate the same core message and sender identity, including required unsubscribe information. Large differences create the same accuracy problem as misleading hidden HTML.
- Generate carefully: Create the plain-text part after the final HTML is ready, then review it manually.
- Remove debris: Decode entities, use ordinary spaces for decorative spacing, and remove preheader filler without removing characters needed by the message's language.
- Match meaning: Keep offers, claims, destinations, sender details, and unsubscribe information consistent.
- Inspect delivery: Open the delivered source and confirm both parts contain the intended content.
What matters more for inbox placement
Delivery and inbox placement are different. A receiving server can accept a message and still place it in spam. Sender identity, reputation, recipient feedback, and sending behavior all affect placement; providers do not publish a universal weighting for ordinary preheader padding. Cleaning invisible characters will not fix high complaint rates or unauthenticated mail, and successful authentication does not guarantee inbox delivery.
Template cleanup priority
A review order for email HTML, not measured spam thresholds or provider-approved limits.
Check purpose
Functional padding
A concise preheader padding block still needs client testing.
Needs QA
Artifacts
Visible preview artifacts or inconsistent rendering across clients.
Fix first
Deception or bloat
Misleading hidden text or padding that contributes to clipping.
Authentication still sits underneath this review. SPF checks whether the sending IP is authorized for the envelope domain, DKIM verifies a cryptographic signature tied to a signing domain, and DMARC requires an SPF or DKIM pass whose domain matches the visible From domain under its policy rules. None of these protocols evaluates whether preheader padding is elegant. Apply padding changes before DKIM signing, because later changes to the signed body can invalidate the signature under DKIM's body hashing rules.
Suped's DMARC reporting product covers the authentication and monitoring side of the workflow. Use its DMARC monitoring to compare SPF and DKIM results by sending source before and after a template change and investigate authentication failures. Check rendering and placement separately; aggregate reports do not show the rendered HTML or measure inbox placement.

Issue steps to fix dialog showing the issue overview, tailored fix steps, and verification action
Clean the template when hidden code is excessive, hard to maintain, or visibly leaking. The presence of or ­ is not proof that inbox placement will suffer.
A practical cleanup checklist
Clean the code with a narrow goal: preserve the intended inbox preview while reducing brittle markup. Do not remove the padding blindly, because that can expose navigation, legal text, or body copy in the inbox preview.
|
|
|
|---|---|---|
Clean preview | Keep | Preview works; no placement guarantee |
Tiny boxes | Adjust | Client rendering issue |
Huge hidden code | Reduce | Reduce clipping risk and maintenance |
Hidden claims | Remove | Content mismatch |
How to decide whether to keep, adjust, or remove hidden spacing.
Use this cleanup order: keep the real preheader text, replace repeated filler with a smaller tested snippet, validate the final HTML and MIME parts, send real test messages, then check inbox preview and spam placement. If the cleaned version exposes unwanted preview text, adjust the replacement instead of deleting the original function.
Use evidence before rewriting
A before-and-after seed test is better than a source-code opinion. Keep the version that produces the cleaner preview and more stable rendering, provided it does not hide misleading content.
Views from the trenches
Best practices
Test hidden preheader padding in Gmail web and Apple Mail before approving any send.
Keep invisible filler in one small block so template updates stay easy to review later.
Compare delivered source with the rendered preview because build tools alter hidden code.
Common pitfalls
Removing padding blindly can expose navigation, legal copy, or body text in the preview.
Repeating hidden characters across several lines makes source harder to audit and repair.
Assuming Gmail success covers every client misses Apple Mail and Outlook differences.
Expert tips
Treat spacing entities as rendering tools, never as placement levers or filter workarounds.
If boxes appear in the preview area, change the filler sequence before the campaign send.
Review authentication and reputation first when placement drops after a template update.
Marketer from Email Geeks says hidden spacing can look unpleasant in source, but Gmail testing matters more than how the raw code feels.
2024-09-04 - Email Geeks
Marketer from Email Geeks says some versions can show as small boxes in the preview area, so Gmail web and Apple Mail checks are worth doing.
2024-09-04 - Email Geeks

