# Convert PDF to SVG

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

## Options

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

- `doc`: pages, password

## Questions

### Does converting PDF to SVG lose quality?

Yes, in one way, and not the usual one. The page you choose is drawn as shapes rather than pixels, so every line and curve stays as sharp as the PDF was at any size you care to view it. What goes is the text: the words are drawn as outlines rather than kept as words, so nothing in the SVG can be selected, searched or edited as text. The other pages are left out.

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

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 SVG it produces?

You can choose which page to render and the password that opens a locked PDF. Leave Pages blank and the first page is drawn. There is no resolution to set: an SVG is shapes rather than pixels, so it is as sharp as you need at whatever size you use it.
