Show HN: Pdf2md – 10MB Rust PDF-to-Markdown Tool with a Free API

johnson_nie1 pts0 comments

PDF to Markdown Converter | Free Online PDF2MD Tool

Try

curl

python

node

go

api

Choose PDF<br>No file selected

Choose a PDF to start.

PDF to Markdown API

The PDF to Markdown API is free to use. Send a<br>PDF file directly to the conversion endpoint.<br>The response includes Markdown, extracted image<br>links, and a ZIP download URL.

Endpoint

POST https://pdf2md.deepdiy.net/v1/convert<br>Content-Type: application/pdf

curl example

curl -X POST "https://pdf2md.deepdiy.net/v1/convert" \<br>-H "Content-Type: application/pdf" \<br>--data-binary @paper.pdf

Success response

"status": "succeeded",<br>"markdown": "# Paper title\n\nConverted Markdown...",<br>"images": [<br>"path": "assets/page_0001_order_0001_class_6.png",<br>"url": "https://..."<br>],<br>"zip_url": "https://...",<br>"download_url": "https://...",<br>"expires_in": 300

Error responses

"error": "busy"

A busy response uses HTTP 429.<br>Invalid files, oversized PDFs, conversion<br>errors, or timeouts return an<br>error field.

Limits

Price: free for both the web<br>converter and API

Maximum PDF size: 20 MB

One conversion runs at a time; extra<br>requests return 429

Conversion timeout:<br>150 seconds

Request timeout:<br>180 seconds

ZIP download links expire after<br>5 minutes

curl -X POST https://pdf2md.deepdiy.net/v1/convert \<br>-H "Content-Type: application/pdf" \<br>--data-binary @paper.pdf

Preview

Markdown<br>JSON

Hide header image

Hide page footer

markdown https pdf2md free curl conversion

Related Articles