# 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.
- [Netlify Drop alternative for one HTML file](https://dochost.io/netlify-alternative): no account and no project to claim; links expire (7 days public, 3 private) unless the page is on a paid plan. Use Netlify itself for a folder with assets or a free custom domain.
- [Share a web page made by ChatGPT, Claude, Gemini, DeepSeek or Doubao](https://dochost.io/blog/share-ai-web-page-link): ask for one self-contained HTML file, paste it, send the link. Copy-and-paste only; no integration with any assistant.
- [Vercel Drop alternative](https://dochost.io/vercel-alternative): paste HTML instead of saving a file; Vercel Drop is better for folders, zips, big uploads and framework projects.
- [GitHub Pages alternative](https://dochost.io/github-pages-alternative): one page with no repository or Git; GitHub Pages is better for a site you maintain or a free custom domain.
- [Share a Claude artifact with people who do not use Claude](https://dochost.io/claude-artifact-sharing-alternative): Claude Share links open most artifacts without an account, but Docs need sign-in and some artifacts show little until sign-in; a pasted copy opens for anyone, but loses features that call Claude.
- [CodePen alternative](https://dochost.io/codepen-alternative): share the finished page, not the code; CodePen is better for forks, comments and public demos.
- [Tiiny Host alternative](https://dochost.io/tiiny-host-alternative): no account and several live pages; Tiiny Host is better for one page kept up free, zips and PDFs.
## 中文指南 (Simplified Chinese)
- dochost 没有 ICP 备案,页面由 Cloudflare 海外节点提供。中国大陆各地的
打开速度、微信内置浏览器里能否打开,均未核实,不要替我们承诺。
- 免费版不注册即可发布;公开链接 7 天、私密链接 3 天后过期。
- [免费 HTML 托管](https://dochost.io/zh/free-html-hosting)
- [HTML 转网站](https://dochost.io/zh/html-to-website)
- [Vercel Drop 替代:粘贴 HTML 直接变链接](https://dochost.io/zh/vercel-alternative)
- [GitHub Pages 替代:一个网页不用建仓库](https://dochost.io/zh/github-pages-alternative)
- [Claude artifact 分享给没有 Claude 账号的人](https://dochost.io/zh/claude-artifact-sharing-alternative)
- [CodePen 替代:分享做好的网页而不是代码](https://dochost.io/zh/codepen-alternative)
- [Tiiny Host 替代:免注册、可同时保留多个页面](https://dochost.io/zh/tiiny-host-alternative)
- [HTML 文件转链接](https://dochost.io/zh/html-file-to-link-converter)
- [Netlify Drop 替代:一个 HTML 文件免注册变链接](https://dochost.io/zh/netlify-alternative)
- [豆包、DeepSeek、Kimi、元宝、通义生成的网页怎么发成链接](https://dochost.io/zh/blog/share-ai-web-page-link)
- [豆包生成网页发布教程](https://dochost.io/zh/blog/publish-doubao-html)
- [DeepSeek 生成网页发布教程](https://dochost.io/zh/blog/publish-deepseek-html)
- [Kimi 生成网页发布教程(Kimi 建站功能请用它自带的发布)](https://dochost.io/zh/blog/publish-kimi-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)
## أدلة بالعربية (Arabic)
- ينشر dochost ملف HTML أو Markdown واحدًا بدون حساب، لا مشاريع متعددة
الملفات. مجانًا حتى 1 ميغابايت للصفحة؛ الروابط العامة تنتهي بعد 7 أيام
والخاصة بعد 3 أيام.
- [dochost بالعربية](https://dochost.io/ar)
- [استضافة HTML مجانا](https://dochost.io/ar/free-html-hosting)
- [تحويل HTML إلى موقع](https://dochost.io/ar/html-to-website)
- [رفع ملف HTML والحصول على رابط](https://dochost.io/ar/raf-milaf-html)
- [ملف HTML لا يفتح في واتساب؟ أرسله كرابط](https://dochost.io/ar/irsal-html-whatsapp)
- [قائمة فحص قبل نشر صفحة HTML صنعها الذكاء الاصطناعي](https://dochost.io/ar/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.