# Convert SVG 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=svg&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 "svg" and to "pdf".

## Options

Sent as JSON in the x-tff-options header. Bounds and allowed values are in https://toolsforfree.app/openapi.json.

- `officePdf`: pages, bookmarks, comments, pdfa, imageQuality, lossless, fitSheet, layout, hiddenSlides, perSheet

## Questions

### Does converting SVG to PDF lose quality?

No, and this is the way back from a PDF drawn as an SVG: the shapes stay shapes and the words stay words, embedded in the PDF and selectable in it. The one thing that can change is a typeface: a font named in the SVG that is not installed on our server is substituted, which moves the letters a little. Text drawn as outlines is unaffected, having no font to lose.

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

Yes, but not back to what you started with. A PDF page becomes an SVG by drawing its words as outlines rather than keeping them as words, and nothing puts them back; the way in keeps whatever shapes it is given. So a round trip leaves you with a picture of the page rather than the page.

### What can I change about the PDF it produces?

You can choose which pages to include, whether headings become bookmarks, an archival PDF/A part, how hard pictures are squeezed, and whether comments are kept.
