Convert SVG to PDF

An SVG logo or drawing on a PDF page, made on your device.

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.

Drop SVG files hereor click to choose files. Batches welcome.
    Working…

    Done

    Free, no ads. Support StayPut

    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

    1. Drop one or more SVG files, or tap to pick them. Reorder with the arrows.
    2. Choose a page size (fit to image, A4 or Letter), orientation and margin.
    3. 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

    Other conversions

    Guides