Strip HTML Tags
Turn HTML code or a saved web page into clean text: tags and scripts are removed while paragraphs, lists and tables stay readable, with an option to keep links.
Free, no sign-up
Your data stays on your device
Works offline after first open
The tool
Loading the tool…
How to use
- Paste HTML code or open an .html file.
- Choose whether to keep line breaks, links, image alt text and list markers.
- Copy the text or download it as a .txt file.
Privacy & how it works
Processes your data in the browser and stores nothing.
- Engine: lightweight in-page code, no external libraries.
- Works offline after you open it once.
- Needs a modern browser (DOMParser).
Frequently asked questions
Does the pasted code run?
No. It is read inside a detached document that is never shown, so scripts do not run, images do not load and nothing is requested from the internet.
What happens to entities like & and ?
They are turned back into their real characters (& and a normal space).
How do tables come out?
One row per line with cells separated by tabs, so you can paste them straight into Excel or Google Sheets.
Related tools
HTML to Markdown (and Back)Turn HTML code, or rich text copied from a page or document, into clean Markdown: headings, nested lists, links, images, tables and code. Also works in reverse, Markdown to HTML.Text Cleaner (PDF Copy Fixer)Clean up text copied from PDFs: rejoin broken lines, remove extra spaces and invisible characters, and fix spacing around Arabic and English punctuation, with options for tatweel and tashkeel.Markdown to HTML ConverterConvert Markdown into clean, sanitized HTML with a preview, automatic heading anchors and an option for a complete HTML page to copy or download.Word & Character CounterCount words, characters, sentences and paragraphs in Arabic or English text, with estimated reading and speaking time and the most frequent words.