Markdown hosting: share a .md file as a web page
Write in Markdown, share a web page. BrewPage renders your .md file as a styled, readable page with its own HTTPS link, so the person you send it to needs nothing but a browser. Paste the text or drop the file; there is no account to create and nothing to install.
Free · no sign-up · you set how long it stays
Copy the prompt for your AI
Your AI writes the report and publishes it as a Markdown page
Write the report as one Markdown file, then publish it on brewpage.app: POST the raw text to https://brewpage.app/api/html?format=markdown (Content-Type: text/markdown). Use GitHub-style tables and fenced code; no Mermaid, math or footnotes. Reply with the link and the private manageUrl; keep the ownerToken to update the same link. Recipe: https://brewpage.app/llms.txtFor any chat: you get one file to paste into the box.
Give me your answer as one Markdown file in a single code block: a # title, ## sections, GitHub-style tables, fenced code with a language; no HTML, Mermaid, math or footnotes. I will paste it into brewpage.app/markdown-hosting to share it as a page.For an agent working in your repository.
Publish README.md from this repo as a web page: POST the file as the raw body to https://brewpage.app/api/html with Content-Type: text/markdown. Reply with the link and the private manageUrl.Same link, new text.
Update the Markdown page you published: PUT the new text to https://brewpage.app/api/html/{namespace}/{id} with Content-Type: text/markdown and the X-Owner-Token header. Same link, new content.Connect BrewPage to your AI in one command
Claude Code
claude mcp add --transport http brewpage --scope user https://brewpage.app/mcp
After that your AI publishes Markdown by itself and replies with the link. Other clients →
How to publish a Markdown file in three steps
- 1Open the editor on the homepage and paste your text, or drop a
.mdfile onto it: the editor shows Markdown automatically. - 2Choose Public or Private (an unlisted address), add a password if you want one, and set how many days the page stays online.
- 3Press Publish, copy the link and save the management link. Your reader opens a formatted page, not raw text.
- A README for a client who has no access to your repository: send one link instead of a zip.
- An agent's weekly report updated at the same link, so the bookmark always shows this week.
- Meeting notes people read on their phones, with tables and code that fit the screen.
Publish Markdown with curl
Send the file with Content-Type: text/markdown. The response contains the link to share and the ownerToken for later updates.
Publish README.md
curl -X POST "https://brewpage.app/api/html?format=markdown" \
-H "Content-Type: text/markdown" \
--data-binary @README.md
Publish a weekly report for 7 days at an unlisted address
curl -X POST "https://brewpage.app/api/html?ns=team-notes&format=markdown&ttl=7" \
-H "Content-Type: text/markdown" \
--data-binary @weekly-report.md
Without ns the page is private (unlisted); ?ns=public allows gallery and search. To replace the text later at the same link, send it with PUT /api/html/{ns}/{id} and the X-Owner-Token header. More examples are on the API page.
MCP server URL for your AI app
https://brewpage.app/mcpClaude Code plugin command
/brewdoc:publishWhat the published page looks like
BrewPage renders standard Markdown (CommonMark) plus GitHub-style tables and automatic links, and styles the result like a GitHub README. The page follows the reader's light or dark theme and reads well on a phone.
- Headings, paragraphs, bold and italic text, block quotes, ordered and unordered lists.
- Inline code and fenced code blocks.
- Tables written with pipes and dashes.
- Links, including bare URLs that become links on their own.
- Images referenced by a full URL.
Readers get a top bar with the file name and a Download button for the original .md, so a colleague can take the source as well as read it.
weekly-report.md
# Weekly report
Export **shipped**; search is in review.
| Area | Status |
|--------|--------|
| Export | Done |
| Search | Review |
```bash
npm run export
```
Notes: https://brewpage.app/help
What your reader opens
If something shows as text
Some extensions are not rendered and show as plain text. Images referenced by a relative path next to the file do not appear either, because only the one file is uploaded.
- Mermaid diagrams
- Export them as images and link them by URL, or publish the document as HTML instead.
- Math formulas, footnotes
- Shown as typed. Put a formula in a code block or an image, and notes in a list at the end.
- Task-list checkboxes, strikethrough
- The
- [ ]and~~marks stay as text: write a plain list and words like "done". - Images by a relative path
- Link each image by its full URL, such as
https://…/chart.png.
Docs with images in a folder? Publish the whole folder with free website hosting. Readers can reply with comments on your pages, and the Telegram bot turns a Markdown file sent in a chat into a link.
Limits
- Size
- One Markdown file up to 5 MB.
- Lifetime
- You pick how long the page stays online; with a free profile you can extend it any time. When the time is up the content is deleted for good, with no recovery. Updating a page keeps its original expiry date; it does not extend it.
- Visibility
- Public pages without a password are listed in the gallery and the sitemap, and search engines can index them. An unlisted address is not private: anyone who has the link can open it. Set a password (at least 4 characters) when readers should have to enter one.
Ownership, rate limits and the badge: Help. Publishing follows the terms, and anyone can report a page.
Compared with other ways to share Markdown
| Question | BrewPage | Code-hosting service | Paste service |
|---|---|---|---|
| Account needed to publish | No | Usually yes | Often no |
| What the reader sees | A formatted page with a Download button | Formatted Markdown inside the service's interface | Raw text or rendered, depending on the service |
| Publish from a script or agent | One HTTP request, MCP server or Claude Code plugin | Through Git or the service's own API | Varies |
| How long it stays online | As long as you set, then deleted | Until you delete it | Varies |
If the document belongs in a repository for the long term, keep it there. When you need a readable link for a review, a status update or a report, publishing the file is quicker.
Markdown hosting — FAQ
Which Markdown syntax is supported?
Standard Markdown (CommonMark) plus GitHub-style tables and automatic links. Mermaid diagrams, math, footnotes, task lists and strikethrough are shown as plain text.
Can I share a Markdown file without an account?
Yes. Paste or drop the file and publish. You get a link to share and a private management link to edit it; there is no signup.
Can readers download the original .md file?
Yes. The page has a top bar with the file name and a Download button for the original Markdown.
Can I keep a Markdown page private?
Use a custom namespace for an unlisted address, and add a password if only certain people should read it. An unlisted link alone is not private: anyone who has it can open the page.
Can an AI agent publish its Markdown reports here?
Yes. Agents can call the REST API directly, use the MCP server https://brewpage.app/mcp, or the Claude Code plugin. Signing in to BrewPage in your client is recommended. Setup for each tool is on Integrations; see also sharing Claude artifacts and publishing AI-generated HTML.