HTML Strikethrough Generator
Generate a strikethrough HTML element — choose <s> for no-longer-relevant content or <del> for editorially deleted content — and copy with live preview.
Last updated: May 21, 2026
Find this tool useful? Support the project to keep it free!
Buy me a coffeeWhat is HTML Strikethrough Generator?
HTML offers two semantic strikethrough elements. `<s>` (strikethrough) marks content that is no longer accurate or relevant but is kept for context — like a crossed-out old price next to a new sale price. `<del>` marks content that has been removed from a document as part of an edit, optionally citing the reason (`cite`) and when it was deleted (`datetime`).
The deprecated `<strike>` tag is also supported for legacy codebases but should be avoided in new code — use `<s>` or `<del>` instead. For visual-only strikethrough without semantic meaning, use CSS `text-decoration: line-through`.
How to Use HTML Strikethrough Generator
Enter the text to strike through
Choose the appropriate tag: <s> for no-longer-relevant, <del> for deleted content
For <del>, optionally add a cite URL and datetime
Copy the generated HTML
Common Use Cases
- E-commerce pages crossing out original prices next to sale prices.
- Document editors marking deleted text in tracked-changes views.
- Content authors showing superseded information kept for context.
Example Input and Output
A crossed-out original price using <s>.
Text: old price $99
Tag: <s><s>old price $99</s>Privacy
All HTML generation runs in your browser. No data is sent to any server.

