Why Plain-Text Strikethrough Matters Across Social Media
Most social networks, messaging apps, and comment sections strip away HTML <del> tags and ignore Markdown ~~text~~ syntax. When you want to show a price drop on Instagram, cross off a completed item in a LinkedIn post, or add dry humor to an X (Twitter) reply, ordinary formatting simply disappears when pasted.
This tool solves that problem by encoding the line directly inside the text using Unicode Combining Diacritical Marks. Because these marks are part of the UTF-8 character stream itself rather than rich-text styling, the crossed-out or underlined appearance travels with your words wherever you paste them.
Choosing the Right Overlay Style
Not every horizontal or bottom line looks identical across fonts and devices. Use the comparison table below to pick the style that best fits your message and platform.
Step-by-Step Walkthrough: Formatting a Product Price Drop
Suppose you are announcing a weekend flash sale in an Instagram caption and want to write: Was \$99 — Now \$49!.
- Select the style tab: Choose Strikethrough (
U+0336) at the top of the card for a clean, unmistakable cross-out line. - Enter only the old portion or full phrase: Paste
Was \$99into the input box (or click the Sale Price preset pill to test immediately). - Decide on space handling: Keep Skip spaces off if you want one solid bar across
Was \$99, or toggle it on if you preferWasand\$99struck separately. - Copy and combine: Click the copy icon on the highlighted result card, paste it into your caption, and type
— Now \$49!right beside it in normal text.
If you later receive crossed-out Unicode text from a colleague and need to edit the plain words again, paste it back into the input field and click Strip Overlays. The cleaner removes all five overlay marks while leaving accented letters and emojis untouched.
Preserving Emojis and Accented Characters
A common bug in basic strikethrough scripts is splitting text by UTF-16 code units (text.split('')). That approach slices right through multi-codepoint emojis—such as family sequences (👨👩👧👦) or skin-tone modifiers (👍🏽)—and separates decomposed accents like e plus an acute mark. Inserting U+0336 into the middle of those sequences corrupts the emoji into broken boxes.
To prevent this, the generator segments every input according to Unicode Text Segmentation (UAX #29) via Intl.Segmenter at the grapheme-cluster level. Each visual character—whether a single ASCII letter, an accented vowel, or a multi-part emoji—is treated as one indivisible unit before the combining overlay is appended.
Under the Hood: How Combining Overlays Render
Unlike standalone symbols, combining characters have zero advance width of their own. When a font renderer encounters A followed by U+0336, it draws the letter A and then overlays the long horizontal stroke centered on that glyph's bounding box. Because different operating systems (iOS, Android, Windows, macOS) use different fallback fonts, slight vertical alignment differences can occur—especially with U+0335 (Short Strike) versus U+0336 (Long Stroke). Previewing all five styles side by side in the comparison card lets you verify readability in your browser's active font before posting.