# Convert XPS to JPG

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=xps&to=jpg, 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 "xps" and to "jpg".

## Questions

### Does converting XPS to JPG lose quality?

Yes, in one way. A JPG holds one page, so only the first page of the XPS comes across, drawn as pixels at 150 dpi. JPG also throws away detail to make the file smaller.

### Can I convert the JPG back to XPS?

Not here. We can read JPG but no engine of ours writes XPS, so this conversion only goes one way.
