How to Upload HTML to Microsoft Copilot
Microsoft Copilot does not reliably handle HTML through its standard upload. Convert to Markdown first, then paste or upload the Markdown — that is the path with the fewest dead ends.
There are half a dozen ways to get an HTML document in front of Microsoft Copilot, and only a couple of them give you results you can trust. Microsoft Copilot does not accept HTML files natively in the standard upload flow, so you have to convert first. This guide walks through the whole path: where to drop the file, what usually breaks, and when it is worth converting to Markdown before you upload. Web pages bring their furniture with them. Navigation, cookie notices and footers all convert just as faithfully as the article you actually wanted. Microsoft Copilot takes uploads via Attach in the Copilot chat, or use "Ask Copilot" directly inside an Office app, caps individual files around 512MB, and works with roughly 128,000 tokens of context on its default variant. The short version: give Microsoft Copilot clean structure — headings, lists, tables that survived the trip — rather than a raw HTML and the hope that the parser does the right thing.
Why convert to Markdown before uploading
The case for a Markdown intermediate step, specifically for HTML in Microsoft Copilot.
- Markdown is token-efficient. You can fit substantially more of an HTML document inside Microsoft Copilot's context window (currently around 128,000 tokens, give or take depending on the plan and model variant) once formatting overhead is gone.
- Microsoft Copilot respects Markdown structure. Headings become navigable sections, lists stay as lists, and tables that survive conversion stay readable for the model.
- You get a predictable failure mode. When an HTML parser inside Microsoft Copilot silently drops a page or column, you rarely notice until the answer is wrong. With Markdown, what you see is what the model sees.
- Batch and reuse get easier. A Markdown file drops cleanly into Custom GPTs, Claude Projects, NotebookLM notebooks, or a RAG pipeline without per-tool quirks.
- HTML uploads carry nav bars, cookie banners, and inline scripts that pollute the context. Markdown conversion strips the chrome and keeps the actual content.
Since the consumer Copilot does not accept Markdown natively, converting to Markdown first and then pasting the text into the chat is often the most reliable path — especially for EPUB and HTML content. Converted HTML files come through at around 98% text accuracy, with table fidelity we would call excellent. The usual catch with HTML: javaScript-rendered content requires pre-processing. Convert once and reuse the Markdown across Microsoft Copilot chats rather than re-uploading the original every time.
Step-by-step: HTML into Microsoft Copilot
- 1
Skip the direct HTML upload
Microsoft Copilot does not reliably accept HTML in the standard flow. Do not waste time wrestling with it — go straight to a Markdown conversion.
- 2
Convert the HTML file to Markdown
Open markdownconverters.com/conversion/html, drop your HTML file in, and download the .md output. Strip navigation and cookie banners first if you can. Otherwise the boilerplate ends up in your Markdown and competes with the actual content.
- 3
Skim the Markdown before you upload
Open the output in any text editor. Check that the main article survived and that navigation lists did not end up as content. Thirty seconds here saves an hour of debugging answers that were never going to be right.
- 4
Upload to Microsoft Copilot
In the consumer Copilot app at copilot.microsoft.com, click the attach button. Copilot does not officially support .md in the consumer app, so the cleanest fallback is to open the Markdown file and paste the text directly into the chat.
- 5
Prompt with structure in mind
Reference the file by name, then point at a section rather than asking broadly. That means quoting the heading: "In the 'Pricing' section, what is the tier for..." instead of "what does this say about pricing". Microsoft Copilot retrieves noticeably better when you narrow it yourself.
- 6
Verify against the source
Ask Microsoft Copilot to quote the passage it is citing. If the quote does not appear in the Markdown, you have either a retrieval miss or a hallucination — re-check the conversion or narrow the prompt.
Gotchas with HTML in Microsoft Copilot
The specific failure modes we see most often — worth knowing before you spend an afternoon debugging "bad" model answers that are really upload problems.
- Copilot behavior varies a lot between the free web version, Microsoft 365 Copilot, and Copilot for Enterprise
upload rules differ
- EPUB, HTML, and Markdown are not officially supported uploads in the consumer Copilot app
EPUB, HTML, and Markdown are not officially supported uploads in the consumer Copilot app
- Data-governance controls in enterprise tenants can silently block uploads
Data-governance controls in enterprise tenants can silently block uploads
- Screenshots and scanned pages rely on Vision and are hit-or-miss on multi-column layouts
Screenshots and scanned pages rely on Vision and are hit-or-miss on multi-column layouts
Getting better answers from Microsoft Copilot
- Upload through Attach in the Copilot chat, or use "Ask Copilot" directly inside an Office app — that is the path Microsoft actually supports, and the one least likely to silently truncate your file.
- Microsoft Copilot holds roughly 128,000 tokens, about 93k words. Converted HTML content is compact, but a long document plus a long conversation still competes for the same budget.
- Stay under about 10MB per file even though the hard cap is 512MB. Retrieval quality degrades well before the limit, particularly on dense HTML content.
- EPUB, HTML, and Markdown are not officially supported uploads in the consumer Copilot app.
- Copilot behavior varies a lot between the free web version, Microsoft 365 Copilot, and Copilot for Enterprise — upload rules differ.
- Microsoft Copilot is less reliable at following Markdown structure, so put the conclusion in the first few lines rather than trusting it to find your summary heading.
- Convert the article URL rather than a saved page where you can. Saved HTML tends to carry inlined scripts and styling that survive as noise in the Markdown.
Frequently asked questions
Can I upload an HTML file to Microsoft Copilot directly?
Not reliably. Microsoft Copilot either does not accept HTML at all or accepts it with heavy restrictions. The supported path is to convert to Markdown (or PDF, in a pinch) and upload that.
What is the file-size limit on Microsoft Copilot?
As of this writing, Microsoft Copilot typically caps individual uploads around 512MB, with a context window of roughly 128,000 tokens on the default variant. These numbers shift with releases and differ by plan, so verify in the app before relying on a specific figure. The practical limit is lower than the hard cap anyway — retrieval quality starts to degrade well before you hit it, especially for dense technical documents. Smaller, focused files beat one enormous one.
Does converting HTML to Markdown lose information?
Markdown drops visual formatting — fonts, colors, exact page layout — because it is a semantic format. It preserves headings, lists, tables, and text content, which is what LLMs actually use. For HTML specifically, the things that matter (Web scraping projects, Blog content migration) survive cleanly. Things like decorative styling do not, and usually should not.
How many HTML files can I upload to Microsoft Copilot at once?
It varies by tier. The free version of Microsoft Copilot is usually stingy with persistent uploads; paid tiers and Projects/Spaces are where bulk HTML workflows become practical.
Is this safe — what happens to my HTML file?
When you upload to Microsoft Copilot, the content is processed by Microsoft's infrastructure under their terms. If the document is sensitive, consider using the enterprise tier (where retention and training policies differ), or convert locally where possible. Markdown Converters does not retain your uploaded files beyond the conversion window.
Keep going
Drop HTML files in and download Markdown ready to upload to Microsoft Copilot.
Check how much of your converted HTML will actually fit inside Microsoft Copilot's context window.
Same workflow, tuned for ChatGPT's upload quirks and context window.
Same workflow, tuned for Claude's upload quirks and context window.
Working with PDF instead of HTML? The gotchas are different.
Background on why clean Markdown consistently outperforms native uploads across every major assistant.
Convert HTML for Microsoft Copilot in one step
Clean Markdown output ready to drop into Microsoft Copilot. Free tier, no account required to try.