Skip to main content
Glama

1gateway

Document to Markdown: web pages, PDF, DOCX and Korean HWP/HWPX

convert_to_markdown

Use when an agent must read a document as clean Markdown: web page, PDF, DOCX or Korean HWP/HWPX, tables kept. Input: url (http/https) via GET, or POST a file (multipart 'file', raw body, or JSON contentBase64+filename). Over the per-format size cap → 413 before payment (see /openapi.json). Output: JSON markdown, title, pages, sourceType, bytes, warnings. Price by detected type: HTML $0.0027, PDF/DOCX $0.0045, HWP/HWPX $0.02. Example: ?url=https://example.com/ Price: $0.0027–$0.02 USDC via x402.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoPublic http(s) URL of a web page, PDF, DOCX, HWP or HWPX (max 10 MB)
typeNoOptional expected type: html, text, pdf, docx, hwp, hwpx
filenameNoOriginal file name, e.g. report.hwp (helps detection)
contentBase64NoDocument bytes as base64 (alternative to url; max 10 MB decoded)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources