How it works
Document to Markdown
Upload a supported document, send it to the Cloudflare Workers AI toMarkdown API, then render the returned Markdown in the browser.
- The file is uploaded to this page and forwarded to the Workers AI endpoint
- The API returns Markdown plus metadata (tokens, mime type)
- The preview is sanitized HTML from the Markdown output
graph TD
A[Document upload] --> B[Server endpoint]
B --> C[Cloudflare Workers AI toMarkdown]
C --> D[Markdown response]
D --> E[Editable Markdown output]
E --> F[Preview]