SVG to PDF Converter

Put an SVG drawing on a PDF page as a picture, right in your browser.

or drop files here

SV

SVG Format

Scalable Vector Graphics

An XML-based vector image format and W3C standard. Shapes, paths and text are described mathematically, so images scale to any size without losing sharpness.

  • resolution independent
  • XML text
  • supports animation and scripting
  • styleable with CSS
PD

PDF Format

Portable Document Format

A document format created by Adobe in 1993 and standardized as ISO 32000. It keeps text, fonts, images and layout the same on any device.

  • fixed page layout
  • embedded fonts
  • vector and raster content
  • optional encryption and signatures

How to convert SVG to PDF

Follow these steps to convert SVG to PDF online.

    1

    Choose your SVG file, or several at once.

    2

    Wait while the converter turns each file into PDF.

    3

    Download each new PDF file. Your original file isn't changed.

What to know before converting SVG to PDF

  • The PDF holds a picture of the SVG, not its vector paths or live text.
  • The page is the size of the picture, one pixel to one point, with no margin.
  • Transparent areas stay transparent.
  • Each SVG becomes its own PDF, and several files are never merged.
  • The conversion runs in your browser, so the SVG is not uploaded.

About SVG files

What is an SVG file?

The letters SVG expand to Scalable Vector Graphics. The format is XML-based and describes two-dimensional artwork made of shapes, text and embedded images. The W3C maintains it as an open standard: version 1.0 was recommended in 2001, and 1.1 followed in 2003. Shapes are stored as instructions, so a single file stays sharp however large it is drawn.

Plain text means an SVG needs no special software to read: any editor will open it, and search, indexing or compression all work on it. The gzip-compressed form is saved with an .svgz extension. CSS and JavaScript apply to SVG, so a drawing can be styled, scripted and animated, and the format adds clipping paths, masks and filter effects. It works as a stand-alone file or as a piece of an HTML page. Its registered media type is image/svg+xml.

Designers meet SVG as logos and icons exported from a drawing program, as charts from a plotting tool, and as artwork on websites. A PDF is the usual way to hand such a drawing to someone who wants a document, a print shop, or a form that takes only PDF.

Programs that open SVG files

  • Mac, Windows and Linux: Inkscape edits SVG as its native format, and Firefox displays it.
  • Web and mobile: Google Chrome displays SVG on the web and on phones, and Safari displays it on phones.

SVG and PDF compared

  • Extensions and media types: .svg and image/svg+xml; .pdf and application/pdf.
  • What they are: SVG is XML text that describes a drawing. PDF is a page format created by Adobe and standardized as ISO 32000, built to look the same on any device.
  • Content: an SVG describes shapes, text and embedded images. One PDF page can combine text, vector graphics and raster images, and the file may also hold links, bookmarks, form fields and annotations.
  • Imaging: every major browser displays SVG, and a PDF's imaging model comes from PostScript and does not depend on the device or resolution.
  • Fonts: text layout in an SVG depends on the fonts available, while a PDF needs its fonts embedded to look the same everywhere.
  • Images inside: a PDF can store its pictures using Flate, which is lossless, or using JPEG.

A PDF can hold vector paths, but this converter does not write them. It draws the SVG in your browser and puts that picture on a page, so you get the fixed layout of a PDF without the scalability of SVG. For vector output, use one of the programs below, and keep the SVG as the source either way.

Other ways to convert SVG to PDF

  • Inkscape (Windows, Mac, Linux): open the SVG, choose File > Save a Copy and pick Portable Document Format (*.pdf) as the type. The manual advises converting decorative text, such as a logo, to paths, and keeping an SVG master.
  • CairoSVG (command line): run cairosvg drawing.svg -o drawing.pdf. The format follows the output file's extension. CairoSVG's documentation says its text and font support is limited, fonts must be installed on the system, and animation and scripting are not implemented.
  • ImageMagick (command line): run magick diagram.svg diagram.pdf. ImageMagick's format list says SVG is rendered by Inkscape, RSVG or its internal renderer, and that PDF support requires Ghostscript.

Problems with SVG files

  • Text looks wrong: the drawing depends on which fonts are present, and a replacement font can alter it. Turn the text into paths before exporting, or install the font the SVG names.
  • A picture is missing: this page renders the SVG as an image, which means a linked picture is not drawn whether or not you are online. Embed pictures in the SVG as data URIs.
  • The PDF is soft when printed: the picture is embedded at the SVG's pixel size. Use Inkscape instead.
  • Pictures inside the SVG stay pixelated: pixel images embedded in an SVG keep their own resolution, so enlarging them shows the blocks.
  • The page is much smaller than expected: the PDF follows the size your browser reports for the SVG, one pixel to one point. If a larger page is needed, set the size in an editor beforehand.
  • The file will not load: when the browser cannot decode the file, you get "Image decode failed." Check it in a browser or in Inkscape beforehand.

Frequently Asked Questions

Everything you need to know about our converter

How do I convert an SVG to PDF?

Does the PDF keep the SVG as vector graphics?

Is the text in the PDF still selectable?

How large is each PDF?

Will the PDF look sharp when I zoom in?

Is the SVG's transparent background kept?

Can I merge several SVG files into one PDF?

Why are my fonts or linked pictures missing?

Can an SVG go to PNG instead?

Is my SVG uploaded?