Recover the article, not the website shell
HTML to Markdown: Clean Up Local CMS Exports
Use a local HTML or HTM file to create editable Markdown without fetching a website or rendering an active preview. Review the meaningful article content, link destinations and omitted elements before adding the source to a pack.
Fictional Willow Arcade Cultural Archive is preparing research notes from a saved catalogue article. Editor Theo Marlow needs the article, object descriptions and acknowledgments, while keeping repeated navigation and unavailable interactive media out of the reading copy.
Supply an HTML file rather than a website address
An HTML export and the website it came from are different inputs. The file may contain article text, navigation, layout containers and references to resources that are not actually included. Begin with a local HTML or HTM file you are authorized to use, preferably a content-focused CMS export rather than a whole saved site. Keep that original alongside your working derivative. The converter cannot know whether the export represents the current public article, an unpublished revision or only a partial copy. Establish the intended version in your editorial records before describing the resulting Markdown as the text you want another reader to use.
The Documents to Markdown builder reads supplied local content; it does not fetch URLs, crawl a site, connect to a CMS or follow links to recover missing pages. Entering a source URL later supplies a label only. Imported HTML and Markdown are shown as plain text, not an active preview with working page widgets. A browser page that requires scripts to populate its article may therefore yield little meaningful supplied content. Obtain a suitable export or an authorized text copy instead of expecting the tool to run the page and capture its rendered appearance.
HTML input is limited to 512 KiB, inside the overall limits of 5 MiB per file, 8 MiB per batch and five accepted sources. A large saved page may exceed the text-format limit even when much of it is presentation markup. Reduce scope in an authorized preparation copy by selecting the material needed for the task, not by cutting arbitrary bytes out of a file. If the export is XML, a database dump or an archive, changing its extension to HTML does not make it a supported input. Preserve content boundaries and record what the prepared copy intentionally leaves out.
Understand cleanup without treating it as content judgment
The conversion pipeline parses HTML as a syntax tree, removes disallowed elements and attributes, and turns supported structure into Markdown. Scripts, styles, forms, embeds and network-loading elements are not retained as an operating page. This is a structural transformation, not a screenshot or a reconstruction of the website’s behavior. It uses parsing and cleanup libraries rather than placing untrusted markup into an active page preview. That boundary helps explain what the tool does, but it does not mean every surviving sentence is useful, every link is trustworthy or the resulting source has been approved for publication or for use in another system.
Markup cleanup cannot decide whether a sentence belongs to the article. A header menu, cookie notice, related-content teaser and footer address may all be ordinary readable text. Conversely, a short notice might be essential because it limits the article’s scope or explains a correction. Inspect those passages on their merits before deleting them. Do not assume the converter performs automatic main-article extraction, deduplication or semantic filtering. If a supplied file contains both the article and a site-wide disclaimer, the human reviewer must decide whether the disclaimer is irrelevant boilerplate or information the intended reading task actually needs to retain.
Treat the Markdown as an editable candidate that still needs a meaningful-content review. Read the first paragraph without the original page open: does it identify the subject, and do later paragraphs depend on material now missing? Then compare it against the supplied HTML or an authorized reference view. Check the transition from article to sidebar and from acknowledgments to related links. The document reading order guide addresses sequencing when the page’s visual arrangement and underlying text order differ. A clean sequence should follow the author’s argument rather than the position of boxes in the website design.
Rebuild the article outline from meaningful elements
Headings, paragraphs, lists, quotations and code blocks offer a more portable reading structure than CSS classes and positioned containers. Compare the exported heading sequence with the article’s intended outline. Repeated site titles may appear before the actual article heading, while a CMS may use a visually prominent ordinary paragraph where a section heading was intended. Correct the derivative only after checking the role of each line. Do not promote every bold sentence into a heading or flatten all headings into a single level for visual neatness. The outline should tell another reader which passages belong together and which changes introduce a new subject.
Review lists for membership, nesting and continuation text. An article’s examples may contain literal numbers or punctuation that resemble list markers but are part of quoted content. Code and preformatted passages need their boundaries, symbols and line structure checked against the source; losing indentation can change what an example communicates. The tool normalizes newlines to LF and preserves other Unicode without Unicode normalization, but that is not a promise that every HTML whitespace convention survives identically. Keep an original copy for exact comparisons. Invalid controls and unpaired UTF-16 characters are rejected rather than silently converted into apparently ordinary source text.
For tables, verify the relationship between headings and cells instead of judging by the presence of pipe characters. A simple catalogue table can be useful in Markdown; a page-layout table or a grid with merged category headings may require an explicitly described manual adaptation. Keep blank and unknown values distinct, and retain units wherever the reader needs them. Do not reconstruct absent cells from visual intuition. If an alternative Word export exists, the DOCX to Markdown guide covers its styles and list checks. Choosing another supported format changes the input route, not the requirement to compare the derivative with its source.
Review relative destinations and unsafe link targets
A relative link such as ../objects/catalogue.html depends on location information outside that string. A root-relative path such as /collection/ depends on a website origin, while a fragment such as #materials depends on a matching destination in a document. None becomes a verified standalone reference just because it appears in Markdown. Review whatever link text and destination remain after conversion. If a usable absolute address is needed, establish it separately from a known authorized source and edit it deliberately. Do not assume the tool resolves a CMS routing scheme or uses your manually entered source label as a base URL.
Unsafe link protocols are dropped during cleanup, and resource references do not trigger network retrieval. Retained valid links remain Markdown text in the plain-text preview rather than active embedded content. This is not a verdict that their destinations are benign, current or relevant. Inspect descriptive link text as well as the address: a label saying catalogue can point somewhere unrelated. Treat a removed destination as something to investigate or describe, not as permission to guess a replacement. An inert link in this tool may be handled differently when the exported text is opened in another application with its own rendering behavior.
A source URL records where you say the supplied material belongs; it does not confirm a redirect, a publication date, ownership or whether a specific quotation appears there. Keep manual repairs distinguishable from source wording, especially when a relative link is replaced with an absolute one. The source notes and citations guide explains how labels can support later checking without becoming authenticity proof. Also inspect addresses for private query values or internal hostnames before sharing. Cleanup is not a secret detector, and a useful-looking reference can still disclose information that the intended recipient should not receive.
Start with the file you actually have
Review an HTML export as text
Convert a supplied local file, separate article content from page furniture, and inspect links without running an active preview.
Record what images, embeds and interaction contributed
An image’s alternative text may survive as text, but the pixels are not inspected or converted into a description. A caption can identify an object without explaining what a viewer would learn from the photograph. Look for phrases such as in the image, highlighted region or as the animation shows, and decide whether the remaining article supports the task. Do not treat an omitted image as a decorative loss merely because the paragraph still reads grammatically. If an authorized reviewer adds an explanation, identify it as a manual addition and keep the original visual available outside this text-only conversion for anyone who needs to inspect it.
Embedded players, maps, forms and interactive comparisons are outside the source’s functioning Markdown content. Removing them does not recover their transcripts, results, configuration or hidden datasets. A saved article may include a media title but not the interview it introduces, or a chart caption but not its numerical values. Preserve that distinction in the source note and narrow the task accordingly. Do not invent a transcript from the surrounding summary or report a widget’s default label as its measured result. This tool neither runs the interaction nor uses AI to fill the gap, and it performs no OCR on screenshots.
Dynamic page sections require the same caution. An export may contain headings for tabs or expandable panels without all their content, or several repeated variants intended for different layouts. Compare the supplied text with the intended article scope rather than assuming every duplicate is expendable. Where the only available reference is a supplied text PDF, the PDF to Markdown guide explains page-text review and image-only limits. Changing format cannot conjure missing information. Choose the source that actually contains the material you need, then make any remaining omission visible to the person who will read the resulting pack.
Apply a fictional catalogue-export review
For Willow Arcade’s fictional case, Theo receives a local CMS export of an article about a donated collection. His review scope is the article’s narrative, object descriptions and acknowledgments; exhibition navigation and newsletter enrollment are outside the intended research note. This is an illustrative editorial exercise, not a report of measured converter output. He begins by identifying where the narrative starts and ends in the supplied file, then checks the candidate Markdown against those boundaries. A surviving menu title is not counted as a useful section, while an acknowledgment explaining who supplied an object description remains relevant even though it is short.
Theo checks a small object table by reading each identifier beside its description and attribution. He examines an internal catalogue reference that originally depended on the website’s routing, recording a manual repair only if he can establish the intended destination. The article also introduces an embedded audio interview; he marks that interview as unavailable in the text rather than treating its title as a transcript. These are hypothetical review decisions, not claims about defects observed in an actual conversion. Their purpose is to show how structure, links and unavailable material require different questions even when they appear in the same exported article.
Finally, he reads the candidate as someone who has never seen the website. Can that reader distinguish the collection narrative from Theo’s notes, understand the table headings and recognize what the missing interview would be needed to answer? He saves only checked editorial changes and leaves unresolved references visible in the note. If a question depends on the absent interview, the research brief excludes that question or requests an authorized transcript separately. The acceptance decision is tied to this limited reading task. It is not a declaration that the website was fully captured, that all records were exported or that the article’s claims were independently verified.
Save the cleaned source before assembling context
Give the accepted source a clear title and a note describing the supplied export revision, intentional exclusions and manual edits. Keep the original filename and conversion warnings available rather than replacing uncertainty with a polished label. Save the source explicitly; unapplied source or settings drafts block Build and report actions. Source Markdown must stay within 128 KiB, and all accepted sources together within 384 KiB of UTF-8 text. Excluding a source from a pack does not remove it from that total. If a large export needs a narrower preparation copy, explain the selection instead of presenting a cropped article as a complete website archive.
Select the accepted sources needed for the task and arrange them in the desired order. The assembled pack contains selected sources only, including their complete accepted Markdown, metadata and warnings. It does not infer relevance or reconcile overlapping exports. The AI context pack guide helps plan that selection without confusing a source inventory with the current reading scope. Any content edit, metadata change, reorder or selection change invalidates the existing pack and its copy or export actions. Apply drafts and Build again so the downloadable report corresponds to what you have actually accepted, not an earlier version.
Using the result in an AI workflow remains a separate decision. Source labels and delimiters are navigational aids, not trusted roles or a prompt-injection firewall. Review embedded instructions as source content, and state your task outside the article excerpts. The AI Token Counter planner can help count supplied text and plan room for a response, but this builder does not call a model or guarantee acceptance by another system. Conversion and import have a 30-second deadline including file reading; exports have a 10-second deadline. A cancelled or timed-out operation does not establish a complete current result to share.
Choose a handover format with the right scope
A current Build enables copying and pack exports. Markdown retains editable text, TXT offers a readable text version, and ZIP packages each selected source as Markdown with the complete pack, manifest and README. ZIP paths use fixed sources/source-01.md-style names rather than original filenames. The PDF report reflows the Markdown as plain text, with tabs expanded to four spaces; it does not recreate the website layout or render imported HTML. Markdown and TXT exports each have a 1 MiB limit, ZIP 2 MiB, and PDF 10 MiB or 60 pages. The tool rejects over-limit output rather than silently trimming the article to fit.
Project JSON serves a different purpose: it preserves every accepted source, including excluded sources, and project information for later editing. It includes neither original HTML files nor the current built pack. Its 2 MiB limit applies after JSON escaping, and a valid accepted draft can be saved without first building a report. Check private notes in excluded sources before sending that project file to anyone. It is not a selected-source export, an automatic backup or a website archive with images and supporting files. Opening it later restores the editable project, after which the intended selection and current Build still need review.
Inspect the downloaded handover itself, including the article boundaries, metadata and omission notes. Unsupported PDF glyphs require an explicit error and a complete alternative such as Markdown, TXT, ZIP or project JSON, chosen with its scope in mind. Keep originals in your normal records and protect exports containing internal URLs or unpublished material. Clearing the session cannot recall an existing download or clipboard copy. For Willow Arcade, a useful deliverable is a bounded, readable article source whose limitations are visible, not a claim that a website was preserved perfectly. The free tools directory provides other utilities when a genuinely different preparation task remains.
Questions about HTML to Markdown
Can I paste a webpage URL and convert the live article?
No. Supply a local HTML or HTM file, or use an authorized text or Markdown copy through Add text. A manual source URL is only a label: the tool does not fetch the page, run its scripts or follow its links.
Why do I still need to remove menus or repeated navigation?
Structural cleanup removes disallowed markup, not every sentence outside an article. Navigation and relevant qualifications can both be ordinary text. Compare the candidate with the intended article scope and make editorial exclusions explicitly; there is no automatic main-article extraction.
Does conversion make relative links complete or destinations safe?
No. Relative references depend on their original location, and retained links are not verified destinations. Review the text and remaining addresses, establish any manual replacement separately, and remember that unsafe protocols being dropped does not authenticate the surviving content.
Continue preparing your source material
Return to the Documents to Markdown & AI Context Pack Builder or browse all free tools.
PDF to Markdown
Check whether a PDF has usable text, preserve page boundaries, handle image-only gaps, and save reviewed Markdown without claiming layout recovery.
Read the guideDOCX to Markdown
Prepare a Word document for text reuse, inspect heading styles and numbered procedures, and repair simple tables before assembling selected sources.
Read the guideAI Context Pack
Select relevant documents, preserve qualifications, order the evidence, and hand over a clearly labelled pack with an explicit revision and scope.
Read the guideDocument Reading Order
Audit column flow, table relationships, repeated headers, footnotes, and captions, then record manual corrections before building the accepted pack.
Read the guideSource Notes and Citations
Separate stable source IDs, page references, quotations, dates, and review notes from verified citations or proof of document authenticity.
Read the guideKeep the missing pieces visible
Assemble the accepted article sources
Save the cleaned Markdown and omission notes, choose the current reading scope, and build before sharing selected-source exports.