GreyScript AI

Markdown to File Converter

Write or paste Markdown, check the live preview, then export it as a Word document, PDF, HTML page or plain text. Everything runs in your browser, so your text is never uploaded.

1. Your Markdown
2. Export
Used for the file name, the Word document properties and the HTML title.
Supports GitHub-flavoured Markdown: headings, bold, italics, strikethrough, links, lists, task lists, tables, block quotes and code blocks. The HTML is sanitised, so scripts in the Markdown never run. Word files list images as placeholders because the browser cannot fetch most images from other sites. PDF export uses your browser's print dialog; choose "Save as PDF".

Questions and answers

Which Markdown features are supported?

GitHub-flavoured Markdown: headings, bold, italics, strikethrough, links, bullet and numbered lists (including nested lists), task lists, tables with column alignment, block quotes, code blocks, inline code and horizontal rules.

How do I convert Markdown to PDF?

Click Save as PDF. The converter opens your browser's print dialog with a clean, print-ready layout; choose Save as PDF as the destination. This uses the browser's own PDF engine, so text stays selectable and searchable.

Does the Word export keep formatting?

Yes. Headings become Word heading styles, so the navigation pane and table of contents work, and lists, tables, links, bold, italics and code keep their formatting. Images are listed as placeholders, because the browser cannot fetch most images from other websites.

Is my text uploaded anywhere?

No. Rendering and export run entirely in your browser using self-hosted open-source libraries (marked, DOMPurify and docx). Nothing is sent to a server or saved.

Is it safe to paste Markdown that contains HTML?

Yes. The rendered HTML is sanitised with DOMPurify before it is previewed or exported, so scripts and event handlers in the Markdown are removed and never run.