NexusTools
100% Client-Side

Convert Dirty Web HTML into Pristine Markdown

Strip inline styles, tracking scripts, and unnecessary div soup. Automatically map nested headings, unordered lists, blockquotes, and preformatted syntax trees.

100% in-browser · no uploadNo loginFree forever

Starting the in-browser processing engine...

Supported: .html, .htm · Files stay on this device · Drop a file or click to start

100% local processingNo login
Desktop upgrade for this exact workflowNexusNote

Clip the web into a permanent offline knowledge base

NexusNote files converted articles as local Markdown with source URLs, full-text search and AI summaries, so a clipping survives the original page going offline.

Save it in NexusNote · NexusNote

How it works

How to use it in three steps

Everything happens inside this browser tab. No account, no queue, no upload.

  1. 1Step 1

    Paste HTML or the page source

    Paste raw HTML, or copy the rendered article from a browser. The parser drops scripts, styles and navigation before conversion.

  2. 2Step 2

    Review tables, code and links

    GFM tables are aligned, code fences receive a language hint where detectable, and relative URLs are rewritten to absolute ones.

  3. 3Step 3

    Send the clean article to AI

    Copy or download the Markdown, then send it to the AI Studio for a summary. NexusNote can store it as a permanent local clipping.

Capabilities & limits

Technical details and boundaries

What this utility does well, where its limits are, and when a desktop workflow is the better tool.

Parsing the DOM and Finding the Article

The page is parsed with DOMParser into an inert document: scripts do not run, and the result is a tree that can be walked safely. Before conversion, drop script, style, noscript, iframe, form and svg nodes. Readability-style scoring then ranks containers by paragraph length, comma frequency and link density, which separates an article body from navigation, cookie banners and comment threads.

Picking the wrong container is the most common failure. A documentation page may have its content split across sibling sections, so a strict top-one heuristic loses half the text; a news site may wrap the body in a div that also contains related links. Expose the candidate list, and let the user override the selection before conversion rather than guessing silently.

Tables, Code Blocks and GFM Limits

GitHub-flavoured Markdown tables are grid-only: the separator row fixes the column count, and every subsequent row must match it. colspan and rowspan have no representation, so a merged header cell either becomes an HTML block or is flattened by repeating values. Cells containing pipes must escape them, and multi-line cells cannot be expressed at all.

Code fences should carry a language hint taken from class names such as language-python, lang-js or highlight-source-rust, with data-lang as a fallback. Preserve indentation exactly inside pre, because Markdown collapses it elsewhere. Inline code needs a backtick fence longer than any run inside the span, and nested lists need consistent two- or four-space indentation.

Links, Images and Whitespace

Relative href and src values must be resolved against the document's base URL before they reach the Markdown, otherwise the output breaks as soon as it leaves the origin. Use the URL constructor, keep mailto and tel schemes, and drop javascript: targets. For images, decide whether to keep the remote URL or download the asset; a Markdown file that depends on a CDN may not survive archiving.

Whitespace handling decides whether the result looks professional. Collapse runs of spaces and non-breaking spaces, strip zero-width characters, trim trailing whitespace except where two spaces encode a hard break, and separate block elements with exactly one blank line. Tables of contents and anchor links often point at ids that no longer exist after conversion, so flag them rather than emitting dead links.

FAQ

Frequently asked questions

Why are merged table cells lost?

GFM has no colspan or rowspan syntax; a pipe table is a rectangular grid. The converter can repeat the merged value across cells, which changes meaning, or emit the table as raw HTML inside the Markdown. Neither is lossless, and the interface should say so.

Do scripts on the page execute during conversion?

No. DOMParser builds an inert document and never runs scripts or loads subresources. That also means content injected later by JavaScript is absent; for single-page apps, save the rendered DOM first or use a headless browser.

Why do links point to localhost or relative paths?

Because the anchors were resolved against the page origin or left as written. Always supply the base URL used to fetch the page; the converter then emits absolute https URLs that survive being pasted into a wiki or issue tracker.

Can it convert a page that requires login?

Only if you provide the saved HTML after authentication. The parser sees whatever markup it is given and cannot replay cookies or tokens. Copying the DOM from the browser inspector captures the rendered state, including personalised content.

Continue the workflow

What to do next

Continue the same workflow with another free utility, then hand the result to a desktop app when the file grows.

Further reading

Go deeper

Related tutorials, an honest competitor comparison, and the complete local-sandbox whitepaper.