Image Converters003

SVG to PDF Converter

Turn an SVG file or pasted SVG code into a one-page vector PDF that stays sharp at any zoom and prints cleanly.

Input
Page size
Orientation

Fit to drawing makes the page the drawing’s own shape. Choose A4 or Letter to pick an orientation.

Open or drop an SVG file, or paste SVG code

Processed locally · 0 bytes sent

How to convert SVG to PDF

  1. Drop an .svg file on the input or click it to choose one. To paste markup instead, choose SVG code and paste it into the box, or paste it anywhere on the page.
  2. Pick a page size. Fit to drawing makes the page exactly the size of the SVG; A4 and Letter scale the drawing to fill the page inside a half-inch margin, centred.
  3. For A4 or Letter, choose Portrait or Landscape.
  4. Read any notices, then click Download PDF. The file is named after the SVG, so logo.svg downloads as logo.pdf; pasted or edited code downloads as image.pdf.

Why use this tool

  • Logos and artwork for print

    Printers and many upload forms ask for a PDF. A vector PDF keeps every edge sharp at any print size, where a PNG would need a very high resolution to do the same.

  • Diagrams for documents and slides

    Charts and diagrams exported as SVG become a PDF page you can insert into a report, a LaTeX document or a slide deck, and they stay crisp when readers zoom in.

  • A one-page handout at a standard size

    Choose A4 or Letter to place a poster, a floor plan or a certificate design on a standard sheet, scaled and centred, ready to print.

Private by design

Your files are decoded and converted in this browser tab and never uploaded, so client artwork and unreleased designs stay on your device. No account and no watermark.

Good to know

Vector, not a picture of the SVG. Many converters draw the SVG into a bitmap and wrap that image in a PDF, which goes blurry when you zoom in or print large. This tool translates the SVG’s shapes, paths, gradient and pattern fills, and text into PDF drawing commands, so the PDF is vector and stays sharp at any zoom. Bitmap images embedded inside the SVG (PNG or JPEG as data: URLs) are the exception: they are placed in the PDF as images and scale like any photo.

Page sizes. Fit to drawing makes a page the size of the SVG at 96 px per inch (so 1 px becomes 0.75 pt), with no margin. A4 (595.28 × 841.89 pt) and Letter (612 × 792 pt) are portrait or landscape; the drawing is scaled up or down to fill the page inside a 36 pt (half-inch) margin, keeps its proportions and is centred. The SVG’s own size is read from its width and height in pixels, or its viewBox; an SVG with neither is treated as 512 × 512 px, with a notice. The PDF has one page.

Fonts. Text stays real, selectable text, but it is set in the fonts every PDF reader has built in: Helvetica, Times and Courier. The first font in the SVG’s font-family list that is one of these, or a generic name, decides which: Arial, Verdana and sans-serif become Helvetica; serif becomes Times; monospace becomes Courier. Any other font, including web fonts and fonts embedded in the SVG, is not used, and text with no recognised font falls back to Times. These fonts cover Western European (Latin) characters only. For an exact match, or for other scripts, convert the text to outlines in your design tool before converting.

What is not supported. Filters (blur, drop shadows and other effects), masks, HTML inside <foreignObject> and text on a path cannot be drawn as PDF vectors by the converter; the tool names any it finds in a notice, and they are left out. Gradient and pattern strokes are drawn solid, with no notice. Scripts do not run, and an animated SVG gives a still page.

Linked files are left out, never fetched. The PDF is made from the SVG file alone. Images, fonts and stylesheets linked by a web address or a file path are removed before converting, so linked images are missing from the PDF, and a notice says so. Nothing is requested from those addresses.

Limits. With Fit to drawing, a page can be up to 14,400 pt (200 inches) on a side, the most PDF readers open, so an SVG wider or taller than 19,200 px needs A4 or Letter. Files over 50 MB get a warning, as they can be slow to convert. The PDF code (jsPDF and svg2pdf.js) loads from this site the first time you convert.

Example

In — SVG with viewBox="0 0 240 120", Fit to drawing

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 120">…</svg>

Out — PDF page

180 × 90 pt
Where a 240 × 120 px SVG lands on each page (36 pt margin on A4 and Letter)
PagePage size (pt)Drawing size (pt)
Fit to drawing180 × 90180 × 90
A4 portrait595.28 × 841.89523.28 × 261.64
A4 landscape841.89 × 595.28769.89 × 384.95
Letter portrait612 × 792540 × 270
Letter landscape792 × 612720 × 360

Frequently asked questions

Is the PDF vector or a raster image?

Vector. Shapes, paths and text become PDF drawing commands rather than pixels, so the PDF stays sharp at any zoom and prints cleanly at any size. Only bitmap images embedded inside the SVG stay bitmaps.

Why does the text in my PDF use a different font?

The PDF uses the fonts built into every PDF reader: Helvetica, Times and Courier. A font-family of Arial or sans-serif becomes Helvetica, serif becomes Times, monospace becomes Courier, and any other font falls back to Times. To keep your exact font, convert the text to outlines in your design tool first.

Why is my drop shadow or blur missing?

Filters such as blurs and drop shadows, masks, HTML in <foreignObject> and text on a path cannot be drawn as PDF vectors by this converter, so they are left out and the tool names them in a notice. Flatten those effects in your design tool, or use SVG to PNG if a bitmap is acceptable.

What page sizes can I choose?

Fit to drawing, where the page is the SVG’s own size (1 px = 0.75 pt) with no margin; A4 at 595.28 × 841.89 pt; and Letter at 612 × 792 pt. A4 and Letter can be portrait or landscape, and the drawing is scaled to fit inside a 36 pt (half-inch) margin and centred.

Is my SVG uploaded anywhere?

No. The file or the code you paste is read and converted in this browser tab, and the PDF is created there too. Images, fonts or stylesheets the SVG links to are removed before converting, so nothing is requested from those addresses.