Style Text · browser-local

Strikethrough Text Generator

Produce strikethrough text that survives a copy-paste into plain-text fields. Each visible character is overlaid with the Unicode combining long stroke, so the effect travels with the text rather than as formatting.

Works on up to 5,000 characters and 20,000 code points per field (at most 64 code points per character), processed in your browser.

19 graphemes19 code points19 bytes

Live result

Output

S̶t̶r̶u̶c̶k̶ t̶h̶r̶o̶u̶g̶h̶ t̶e̶x̶t̶

Good fit

Use this tool when

  • You want struck-through text in a field with no formatting.
  • You are marking a price or item as crossed out.
  • You want the effect to persist when copied.

Keep the original

Avoid it when

  • The destination supports real rich-text strikethrough.
  • Screen-reader clarity matters, since overlays can disrupt reading.
  • You need the plain characters to stay clean for search.
01

Reviewed truth vectors

Examples that expose the edge cases

InputSale 50% off
OutputS̶a̶l̶e̶ 5̶0̶%̶ o̶f̶f̶

Every non-space character gets a combining stroke.

InputCancelled
OutputC̶a̶n̶c̶e̶l̶l̶e̶d̶

The base letters are unchanged; a mark is added on top.

Inputdone
Outputd̶o̶n̶e̶

Combining marks travel with the text when copied.

02

Transparent implementation

How it works

  1. 01

    Split the input into grapheme clusters, so a letter with its accents or a whole emoji sequence is one unit.

  2. 02

    Skip whitespace and append one combining long stroke (U+0336) after each other cluster — never between a letter and its accent, and never inside a complete emoji sequence (such as a ZWJ family or flag), so the stroke lands after the whole emoji. A stray joiner that is not part of an emoji sequence is treated as ordinary text.

  3. 03

    Return the combined string.

03

Known limitations

What the result cannot promise

It uses combining marks, not a real strikethrough style.

Rendering of the overlay varies by font and platform.

Assistive technology may read the base text without the stroke.

04

Questions before copying

Frequently asked questions

Will the strikethrough survive copy-paste?

Usually yes, because the effect is made of Unicode combining marks carried with the text, not formatting.

Why do spaces have no line?

The stroke is only added to visible characters; whitespace is left untouched to avoid odd gaps.

Is it accessible?

Not fully. Some screen readers ignore the overlay and read the base text, so avoid it for essential meaning.

Is this a strikethrough font?

No. It overlays each visible character with U+0336, the Unicode combining long stroke, so the line travels with the text as characters rather than as a font or formatting.

Does it cross out numbers and symbols too?

Yes. The overlay is added to every visible character, including digits and punctuation; only spaces are left without a line.

05

Testing and sources

How this tool is tested

GlyphSift Editorial — Text-engine notes written and reviewed by Hommer Zhao, Founder & General Manager

GlyphSift Editorial is the site's writing and review process, led by Hommer Zhao, who is accountable for every tool page and correction. Each tool's examples are written against real Unicode edge cases and checked against the engine before the page is published.

Each tool page is reviewed against the same six input classes the engine is tested with — ASCII, emoji, combining marks, non-Latin scripts, empty input, and 5,000-grapheme input — and cannot become eligible if it is only a parameter variation of another page.

Automated evidence

  • Tool-contract & coverage suiteShared suite · 37 cases across all tools it covers

    tests/tools-30.test.mjs mirrors the ToolRunner dispatch and asserts every registered engineId returns the contracted output shape, plus a coverage guard: every style keeps one output character per input character with unmapped characters passed through in place, and strikethrough, zalgo and upside-down never drop or split a grapheme cluster.

    Run in: node --test after a production build (vinext build)
  • Rendered-HTML suiteShared suite · 26 cases across all tools it covers

    tests/rendered-html.test.mjs renders the deployed server bundle and asserts the Unicode-version manifest and each wave's tool markup are present in the server-rendered HTML.

    Run in: node --test against the built dist/server bundle
  • Transform & cleanup suiteShared suite · 38 cases across all tools it covers

    tests/transform-cleanup.test.mjs exercises each deterministic cleanup and transform action against whitespace, duplicate, ordering, casing, and HTML-to-text edge cases.

    Run in: node --test, no network, no randomness

Standards this tool follows