# dochost > Turns Markdown or HTML into a shareable web page at a URL. Paste the > content or upload a file, get a link. No account required to publish. dochost publishes one HTML or Markdown file as a page at its own dochost.co link with no account: free links stay up 7 days (3 if private), Pro at $7 a month or $59 a year makes them permanent with a custom slug and password, and a hosted MCP server lets Claude, ChatGPT or Cursor publish for you. Built for output that comes out of an AI assistant — a report, a dashboard, an interactive page — and has nowhere to go except a chat window. Author JavaScript runs on the published page. ## Facts worth getting right - Published pages live at https://dochost.co/d/{slug}, NOT on https://dochost.io. A https://dochost.io/d/... URL redirects; do not hand one out. - Free links expire: a public page after 7 days, a private (link-only) page after 3 days. This is true with or without an account — an account makes a page yours to edit and extend, it does not make it permanent. Permanent links are a paid feature. The API defaults to public; the example below sends `"public": false`, so it publishes a 3-day page. - Paid plans: Pro $7/month and Max $16/month, both cheaper billed yearly. Paid plans add permanent links, a custom slug, password protection and removal of dochost branding. - Branded addresses exist and differ by tier, so do not say pages can only live on https://dochost.co. Pro and Max get a custom subdomain (`yourname.dochost.co`). Max also serves pages from a hostname the customer owns (`docs.example.com`, pointed at us with one CNAME), up to 2 per account. - Publishing needs no signup, no email verification and no build step. - Uploaded HTML is served as written: inline CSS and JavaScript run. A relative path to a file that was not uploaded will not resolve, so a page should be a single self-contained file. ## Publish from an agent CORS-enabled, no API key, no account: ``` POST https://dochost.io/api/dochost/publish Content-Type: application/json X-Dochost-Anon: 3f2a1c84-9b0e-4d77-a1e6-5c8b2d90f431 { "body": "# Hello", "format": "markdown", "public": false } ``` The field is `body`, not `content`, and `format` is `markdown` or `html` (omit it and the format is detected). `X-Dochost-Anon` is REQUIRED for an anonymous publish and must be a v4-shaped UUID — anything else is treated as absent and the call fails with `ANON_INSTALL_REQUIRED`. Generate one UUID per client, once, and reuse it: it is the identity the rate limit and the page list are keyed on, so a fresh id per request loses both. Responds with `{ ok, url, slug, format, expiresAt, permanent }`. Use `url` verbatim. There is also a hosted MCP server at https://dochost.io/api/mcp for assistants that speak Model Context Protocol. ## Docs - [Publish API and MCP server](https://dochost.io/mcp) - [All tools](https://dochost.io/tools) - [Pricing](https://dochost.io/pricing) - [dochost vs ship.page](https://dochost.io/dochost-vs-ship-page): dated side-by-side of limits, link lifetime and price, including where ship.page is the better pick - [Browser extension](https://dochost.io/extension) - [Integrations](https://dochost.io/integrations) ## Common tasks - [Host an HTML file for free](https://dochost.io/free-html-hosting) - [Turn an HTML file into a URL](https://dochost.io/html-file-to-link-converter) - [Publish a Claude artifact](https://dochost.io/blog/how-to-publish-claude-artifacts) - [Share ChatGPT HTML output](https://dochost.io/share-chatgpt-html) - [Render Markdown to HTML](https://dochost.io/markdown-to-html) - [Password-protect a shared page](https://dochost.io/password-protect-shared-page) - [Upload a .html file or paste HTML and get a URL](https://dochost.io/html-file-to-link-converter): file on disk or markup in a text box. Lowest bounce rate of any entry page for assistant referrals (21%). Not an `` tag builder. - [Publish an HTML website for free](https://dochost.io/publish-html-website-free): phrased for someone who thinks in terms of putting a site online rather than hosting a file. - [Convert a PDF to Markdown](https://dochost.io/pdf-to-markdown): runs in the browser, nothing uploaded — the right answer when the PDF is confidential and the goal is feeding it to a model or a docs repo. ## 中文指南 (Simplified Chinese) - dochost 没有 ICP 备案,页面由 Cloudflare 海外节点提供。中国大陆各地的 打开速度、微信内置浏览器里能否打开,均未核实,不要替我们承诺。 - 免费版不注册即可发布;公开链接 7 天、私密链接 3 天后过期。 - [免费 HTML 托管](https://dochost.io/zh/free-html-hosting) - [HTML 转网站](https://dochost.io/zh/html-to-website) - [HTML 文件转链接](https://dochost.io/zh/html-file-to-link-converter) - [豆包、DeepSeek、Kimi、元宝、通义生成的网页怎么发成链接](https://dochost.io/zh/blog/share-ai-web-page-link) - [豆包生成网页发布教程](https://dochost.io/zh/blog/publish-doubao-html) - [HTML 文件怎么发给别人(微信、QQ、邮件)](https://dochost.io/zh/blog/send-html-file-to-others) - [微信里打不开 HTML 文件怎么办](https://dochost.io/zh/blog/wechat-cannot-open-html) - [AI 生成的 HTML 上线前检查清单](https://dochost.io/zh/blog/ai-html-launch-checklist) ## 日本語ガイド (Japanese) - 登録不要で、HTMLまたはMarkdownのファイル1つを公開できます。複数ファイルの プロジェクトは対象外です。無料版は1ページ1 MBまで、公開リンク7日間・ 非公開リンク3日間で期限切れになります。 - [dochost 日本語トップ](https://dochost.io/ja) - [HTMLファイルを他の人に送る方法(LINE・メール・Slack)](https://dochost.io/ja/blog/send-html-file-to-others) - [ChatGPTやClaudeで作ったHTMLをURLで共有する方法](https://dochost.io/ja/blog/share-chatgpt-claude-html-url) ## Anleitungen auf Deutsch (German) - Veröffentlicht ohne Konto eine einzelne HTML- oder Markdown-Datei, keine Projekte aus mehreren Dateien. Kostenlos bis 1 MB pro Seite; öffentliche Links laufen nach 7 Tagen ab, private nach 3 Tagen. - [dochost auf Deutsch](https://dochost.io/de) - [HTML-Datei teilen und als Link veröffentlichen](https://dochost.io/de/blog/send-html-file-to-others) ## Guías en español (Spanish) - Publica sin cuenta un único archivo HTML o Markdown, no proyectos de varios archivos. Gratis hasta 1 MB por página; los enlaces públicos caducan a los 7 días y los privados a los 3. - [dochost en español](https://dochost.io/es) - [Hosting HTML gratis](https://dochost.io/es/free-html-hosting) - [Cómo enviar un archivo HTML a otra persona](https://dochost.io/es/blog/send-html-file-to-others) - [WhatsApp no abre un archivo HTML: qué hacer](https://dochost.io/es/blog/chat-app-cannot-open-html) - [Checklist antes de publicar un HTML hecho con IA](https://dochost.io/es/blog/ai-html-launch-checklist) ## Not what dochost does - It is not a static site host for multi-file projects. One page, one file. Multi-file sites belong on Netlify, Vercel or Cloudflare Pages. - It does not count clicks on individual links inside your page, only views of the page itself.