247999.XYZ Tools / Clean text / HTML to clean text Sign inCreate account

HTML to clean text

Extract plain text from pasted HTML without loading its images or running scripts. Omit common hidden blocks and optionally include cleaned link addresses.

Up to 2 MiB, 30,000 HTML nodes and 64 nesting levels. HTML is parsed in an inert template that is never attached to the page. Resources are never loaded.

Scripts, styles, comments, forms, embedded media and common inline-hidden blocks are omitted. CSS classes and external stylesheets are not evaluated. Visible text may still contain personal details.

Paste HTML to begin.

Read the text without loading the page

This tool parses HTML inside an inert template that is never attached to the live document. Pasted images, frames, scripts and stylesheets are not loaded. The output is plain text in a read-only preview.

Script and style content, comments, embedded media, form controls and common hidden blocks are omitted. Paragraphs, headings, lists and line breaks get simple text separators. Image alt text is not included.

Link addresses are optional

Choose to include HTTP and HTTPS link addresses after their labels. The cleaner removes URL credentials, fragments, common tracking parameters and parameters with common secret names. It does not follow links or unwrap redirect services. Other query values and path segments remain.

Hidden text has limits

The cleaner recognizes the HTML hidden attribute, aria-hidden="true" and common inline display, visibility and opacity settings. It does not evaluate CSS classes or external stylesheets. Text hidden through those rules may remain, so review the result before sharing.

Use UTF-8 HTML up to 2 MiB, 30,000 nodes and 64 nesting levels. Personal details in ordinary visible text are preserved. Copy or download only after checking the preview.