Convert SVG to PDF
An SVG logo or drawing on a PDF page, made on your device.
- Nothing is uploaded
- Works offline after first visit
- Open source
- Free, no account, no watermark
Turn an SVG into a PDF page: the SVG is drawn as an image at the size you choose, then written into the PDF by your browser. It is free, and your files are not uploaded: the SVG is read and drawn on your device.
Done
Free, no ads. Support StayPut
Open the network tab. Your files never appear in it.
Add files and run the tool to see every request this tab makes.
Your files are processed on this device and never sent to a server. Reload the page to clear everything from memory.
Your browser draws the SVG onto a canvas, and that picture is what goes into the PDF. The SVG is drawn as an image at the size you choose, so the PDF page holds pixels, not vector paths. Text in it is not selectable and the shapes cannot be edited afterwards. If you need vector output, export a PDF from the program that made the SVG.
With "Fit to each image" the page takes the size of the SVG, taken from its width and height. An SVG that has only a viewBox, with no width and height, is drawn with the viewBox shape at 1024 pixels on its long side. Pick A4 or Letter with a margin when the PDF is going to be printed. Transparent areas of the SVG come out on a white page.
An SVG is drawn on its own, so files it links to are not fetched. An SVG that points to an external image, or to a web font by URL, may not render correctly: the linked picture is not loaded, so you get a gap or a broken-image icon where it was, and the text falls back to a font on your device. Embed images as data in the SVG, or convert text to outlines, before you convert.
How it works
- Drop one or more SVG files, or tap to pick them. Reorder with the arrows.
- Choose a page size (fit to image, A4 or Letter), orientation and margin.
- Convert, and the PDF downloads. Reload the page to clear everything from memory.
In your browser, not on a server
A JPG is embedded directly into the PDF by pdf-lib, unchanged, unless it needs rotating by its EXIF orientation (as sideways phone photos often do), in which case it is decoded and re-encoded at high quality. A PNG is embedded losslessly. Other formats are decoded by your browser (HEIC via libheif, TIFF via UTIF.js, one page per TIFF page) and embedded as high-quality JPG. Page size, orientation and margins are applied while laying out each page in memory.
Compared with upload-based tools: Uploading a folder of receipts or ID scans to make one PDF is exactly the kind of thing that should not need a server. The PDF is assembled on your device in the time it takes to pick the files.
Verify it yourself. Give the page a short while after one visit to save itself for offline use, then turn off Wi-Fi or switch to airplane mode and run the tool again. Or open your browser's developer tools (F12, or Cmd-Option-I on a Mac), pick the Network tab, and watch it while you convert. The panel above does the same count for you.
Questions
Is the PDF vector or an image?
An image. The SVG is drawn as an image at the size you choose, so the PDF holds a picture of it. Text is not selectable and paths cannot be edited. For vector output, export the PDF from your drawing program.
Why does my SVG look different, or lose its picture or font?
The SVG is drawn on its own, and files it links to are not loaded. A linked image is not loaded, so a gap or a broken-image icon shows in its place, and a web font falls back to one on your device. Embed images in the SVG as data, or convert text to outlines, and try again.
What size will the page be if my SVG has no width and height?
The shape comes from its viewBox, drawn at 1024 pixels on the long side, and "Fit to each image" makes the page that size. Choose A4 or Letter if you want a standard sheet.
Can I put several SVGs in one PDF?
Yes. Every file you add becomes a page, in the order listed. Use the arrows to change the order before converting.
Is the file uploaded anywhere?
No. There is no server in this process. The page is a static file and the work is done by code running inside your browser tab. Give the page a short while after one visit to save itself for offline use; then you can turn off Wi-Fi and it still works.
More PDF tools
Image to PDF
Turn photos, scans and screenshots into a single PDF. One image per page, in the order you choose.
OCR PDF
Text recognition for scanned pages, run on your own device: the PDF looks the same, but now you can search it and copy from it.
Document scanner
A photo of a sheet of paper becomes a flat, white, straight scan, without a scanner app and without sending the page anywhere.
EPUB to PDF
A DRM-free ebook turned into a paginated PDF, laid out on your own device.
Other conversions
Guides
- How to convert a photo to PDFEvery device can do this, in different ways and different places in the menus. Here is how on each, plus combining several photos into one file.
- A free Convertio alternative with no file size capConvertio's free plan caps both file size and how many conversions you get per day. Here is an alternative with no such ceiling.
- Is Convertio safe?Convertio is a well-known converter with a published deletion policy. For private files, the safer choice is a converter that never receives them.