Share a Markdown file as a web page
A .md file opens as raw text with pound signs and asterisks for anyone without a Markdown viewer. Convert it to HTML with one command, upload it, and send a link that opens as a formatted page with headings, tables and code blocks.
README files, meeting notes and docs written by AI tools are often Markdown. Sent as a .md attachment, the reader sees the source: # for headings, pipes for tables, backticks around code. Converting it to an HTML file first gives a page that reads like a document in any browser. FileShare Pro accepts a .md upload too, but it is stored and served as Markdown text, not turned into a formatted page.
Convert with marked (Node.js)
- ✓npx marked -i notes.md -o notes.html converts the file with no install step beyond Node.js.
- ✓marked follows GitHub-flavored Markdown by default, so tables, fenced code blocks and task lists come through.
- ✓The output is the page body only: no <html>, <head> or charset line. See the wrapper step below.
Convert with Python-Markdown
- ✓pip install markdown, then python -m markdown -x tables -x fenced_code notes.md > notes.html.
- ✓Leave out the two -x flags and tables and fenced code blocks are not converted: a table comes out as one paragraph of pipes and dashes (tested on Markdown 3.11).
- ✓In a script: markdown.markdown(text, extensions=["tables", "fenced_code"]). The output is also body-only.
Add a head and a little CSS
Put <!doctype html><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"> at the top of the file, before the converted content. The viewport line keeps the text readable on a phone.
Without CSS the page uses the browser defaults: serif text running the full width of the window. A short <style> block, for example body { max-width: 720px; margin: 2rem auto; font-family: system-ui, sans-serif; line-height: 1.6 } plus a border on table cells, makes it read like a document. The style lives inside the file, so the shared page looks the same for everyone.
Images referenced by a relative path, such as , will not load from a single uploaded file. Use full https image URLs, or embed them as data URIs: making an HTML file self-contained.
Upload it and send the link
Drag notes.html onto the FileShare Pro dashboard and copy the link. Viewers need no account and nothing to install. Shared pages carry a noindex tag, so internal notes do not show up in search results. On Pro you can add a password: password-protecting an HTML page.
Turn on comments and readers can leave a note on the page after typing a name. The view count shows whether the person you sent it to has opened it.
Update the page without a new link
Edit the .md file, run the same command, and upload the new HTML over the old file. The link stays the same and the previous version is kept in history: updating a shared link without changing it. From Claude Code or another MCP client, the publish tool can upload the converted file for you: publishing HTML from Claude Code.
Frequently asked
Convert it to HTML with npx marked -i notes.md -o notes.html (or Python-Markdown), add a charset line at the top, upload the HTML file and send the link.
Python-Markdown only converts tables with the tables extension. Run it with -x tables -x fenced_code, or use marked, which handles GitHub-flavored tables by default.
Relative image paths point to files on your computer that were not uploaded. Use full https image URLs or embed the images in the HTML file.
FileShare Pro accepts it, but it is served as Markdown text, not as a formatted page. Convert it to HTML first for a page that reads like a document.
Yes. The free plan hosts up to 50 files of up to 100 MB each, with view counts and comments included. Password-protected links are on Pro.
Drop the file, copy the link — live in seconds, free plan included.
Start sharing free