# Convert MD to PDF

Files are processed on our server, and the results are kept for a few minutes so you can download them, then deleted — whether or not you did. Free, no account, no watermark.

Results are deleted 15 minutes after the job finishes.

## API

POST the file as the raw request body to https://toolsforfree.app/api/jobs?from=md&to=pdf, then

GET https://toolsforfree.app/api/jobs/{taskId}?engine={engine} until state is done,
then GET https://toolsforfree.app/api/jobs/{taskId}/output?engine={engine}&format={format}, with the taskId, engine and format the 202 answers.

Details: https://toolsforfree.app/api.md

MCP: call convert_file at https://toolsforfree.app/mcp with from "md" and to "pdf".

## Questions

### Does converting MD to PDF lose quality?

Only its pictures. The words, headings, lists, bold and italics come across, laid out on fixed pages the way a printer would set them, so the text no longer reflows to fit a screen. A picture the Markdown links to is a separate file, so it does not come with it.

### Can I convert the PDF back to MD?

Yes, but not as it was. Converting the PDF back rebuilds an MD from its text: the words and headings come back where they can be read, and tables, pictures and layout may not.
