SVG to PDF

Add an SVG, choose the page it goes on, and save a PDF. The drawing never leaves your device.

Drop an SVG here

Or choose a file, or paste SVG code

No SVG at hand? Try a sample.

How to convert SVG to PDF

  1. Add your SVG

    Drop the SVG file on the page, pick it from your computer, or paste its code.

  2. Choose the page

    Pick Same as drawing, A4 or Letter. For A4 and Letter you can also set the orientation and the margins.

  3. Check the sheet

    The preview shows a white sheet with the drawing on it, placed the way it will sit on the PDF page.

  4. Save the PDF

    Press Download PDF and the file is saved to your device.

Page setup

Page size

Same as drawing makes a sheet the size of the picture, which suits a PDF you send or insert into a document. A4 or Letter suits a PDF you plan to print.

Orientation

Auto uses a landscape sheet when the drawing is wider than it is tall, and a portrait sheet otherwise. You can also force Portrait or Landscape.

Margins

The whole drawing is fitted inside the sheet minus the margins and centered. A small drawing is enlarged to fill the space and stays sharp.

Resolution

300 dpi is the usual choice for printing. 150 dpi gives a lighter file for the screen, and 600 dpi suits fine details.

What is inside the PDF

  • One page with your drawing on it as a picture. It looks as it does in the browser, so gradients, patterns and filter shadows are in place.
  • The picture is stored without losses, so its pixels are exactly what the browser drew. The Floor plan sample (1,000 × 640 px) at 300 dpi on a Same as drawing sheet gives a file of about 100 KB.
  • Transparent areas of the drawing are white, because the sheet is white.

The file stays on your device

The PDF is made in your browser, and your SVG is not sent to the site or to anyone else. There is no account to create. Scripts inside the SVG do not run.

What this page does not do

  • The PDF holds a picture, not vector shapes, so text in the drawing cannot be selected and pixels show at strong zoom.
  • One SVG makes one page. The page does not combine several files into one PDF.
  • Images linked from inside the SVG by URL are not included, and an SVG with embedded HTML (a foreignObject element) is not saved.
  • The longest side of the picture is limited to 16,384 pixels. A large drawing at 600 dpi may exceed it; then choose a lower resolution.

Questions

Which page size should I choose?

Choose Same as drawing if the PDF goes into a document or an email. Choose A4 (210 × 297 mm) or Letter (8.5 × 11 in) if you will print it.

How big is a Same as drawing page?

96 pixels of the drawing make one inch of the sheet, so a drawing 960 pixels wide gives a sheet 10 inches wide. This sheet has no margins.

Which resolution do I need?

300 dpi fits ordinary printing. Use 150 dpi for a lighter file that is meant for the screen, and 600 dpi when the drawing has fine details.

Can I select or search the text in the PDF?

No. The drawing lies in the PDF as a picture, and its text is part of that picture.

Why is the background white?

The PDF sheet is white, and transparent areas of the drawing show the sheet. The sheet color cannot be changed.

The preview buttons come from SVG Document Viewer, a Chrome extension that adds them to an SVG opened in a Chrome tab. About the Chrome extension