Rich Text to Plain Text
Convert rich HTML or formatted text (websites, Word, Google Docs, emails) into clean, safe plain text. Everything runs locally in your browser — your content never touches a server.
208 characters
Sanitized with DOMPurifyNo Content
Paste rich text on the left to see the plain text here.
Security & Privacy
- ✅ 100% client-side — all conversion runs in your browser
- ✅ Your content is never sent to any server — there is no upload endpoint
- ✅ XSS protected — input is sanitized with DOMPurify before parsing
- ✅ Scripts, event handlers, iframes, and dangerous tags are stripped automatically
- ✅ Output is pure plain text — no executable HTML survives
- ✅ Nothing is stored, tracked, or persisted server-side
How does the XSS protection work?
Before any parsing happens, your input is passed through DOMPurify — a battle-tested HTML sanitizer. It strips scripts, event handlers (like onerror), javascript: URLs, iframes, and other dangerous elements. Even if malicious HTML is pasted, it is neutralized before conversion.
Is my data stored on the server?
No. This tool is fully client-side. There is no API route, no database write, and no server-side storage of any kind. Your text is processed entirely within your browser tab and discarded when you close it.
What can I paste?
Any HTML or formatted text: copied sections from websites, Word documents, Google Docs, emails, rich-text editors, or raw HTML source. Links become "text (url)", images become "[Image: alt]", and lists, tables, and headings are converted to readable plain text.