Convert SVG to PDF

Converting SVG to PDF here is a render rather than a translation: the drawing is rasterised at 1,024 pixels across and that picture is placed on the page, so the PDF no longer sharpens as you zoom the way the SVG did. It happens inside your browser, and any text in the drawing has to be outlined first — the renderer carries no fonts, so words drawn with one are simply absent.

  • Where it runs In your browser. The file is never uploaded.
  • Rebuilt PDF works differently from an SVG, so this is not the gradual degradation a lossy codec applies. What PDF can express is reproduced faithfully; what it has no equivalent for does not survive at all.
  • File size limit Up to 100 MB per file, free, without an account.
  • Worth knowing The drawing is rendered to pixels 1,024 across before it is placed in the PDF, so the result no longer sharpens as you zoom the way the SVG did.

Up to 100 files at once. Mixed formats are fine.

The drawing is rendered, not translated

Both formats can describe a drawing as instructions — a line from here to there, a curve of this radius, filled with this colour — and this conversion does not use that. resvg renders the SVG to a bitmap 1,024 pixels across, and that bitmap is what is placed on the PDF page. What arrives is a picture of the drawing rather than the drawing.

So the property people convert to PDF for is the one that is missing: there is a resolution now, and it was chosen for you rather than by you. At ordinary screen sizes it looks right. Across an A4 sheet 1,024 pixels works out at about 124 dpi against the 300 a printer expects, and on an A0 poster it is nearer 31. Where the drawing has to survive being enlarged, send the SVG itself or place it in a layout tool that writes vectors.

Outline the type first, or it will not be there

An SVG that contains text usually does not contain the font. It names one — "Helvetica Neue", "Inter" — and relies on the machine drawing it to have that font installed. On the designer’s computer it looks right. Elsewhere it falls back to something else, and a carefully spaced logo arrives in Arial.

The renderer used here has no fonts at all, so it does not fall back: a `<text>` element draws nothing, the rest of the artwork appears, and the words are gone. That makes the step printers call "outline your fonts" a prerequisite rather than a nicety. Convert type to paths in Illustrator, Inkscape or Figma before converting, and open the PDF once afterwards — a drawing whose logotype has quietly vanished still looks fine in a thumbnail.

What will not come across

Anything the SVG only points at rather than contains. An `<image>` element referencing a photograph by URL will be missing, because nothing here reaches out to the internet — the conversion runs entirely offline, which is the same property that keeps your file private. Embed the images in the SVG first if the drawing depends on them.

Animation and interactivity also go, and cannot do otherwise: SVG can contain moving parts and things that respond to a click, and a PDF page is still. If the animation is the point, the drawing wants to stay an SVG or become a video.

When PDF is the wrong target

If the drawing is going onto a web page, keep it as an SVG. It is smaller than the equivalent PDF, every browser renders it natively, and it stays selectable and styleable with CSS. Converting to PDF for the web gives up all of that for nothing.

PDF earns its place the moment the file leaves your control: sent to a printer, attached to an email, submitted to a form, filed in an archive. Those are contexts where "it opens the same way everywhere" is worth more than editability, and where an SVG is likely to be met with a shrug.

Page size, and where the drawing sits on it

The page takes its dimensions from the drawing by default — "Fit to image" — so the result fills it exactly with no border. On screen that looks like the drawing itself, which is usually what anyone wants from a logo or a diagram.

If the file is going to a printer who expects a standard sheet, set Page size to A4 or US Letter instead. Portrait or landscape comes with it, and the margin is a number of millimetres up to 50, applied on all four sides. On a standard sheet the drawing is centred and scaled down to fit inside those margins, never up, so a small logo stays crisp rather than being blown across the page.

Colour: screens are RGB and presses are not

An SVG describes colour in RGB, because it was made for screens. The PDF carries those same RGB values across faithfully, and nothing is separated into CMYK here.

For anything read on a screen that is correct. For commercial print it is one step short: the press needs CMYK, and that separation belongs with the printer or in a layout tool holding the right profile, where somebody can see what happens to the deep blues.

Combining several drawings into one document

Drop several SVGs and each becomes its own PDF rather than pages of a single document, because deciding the page order is a decision a converter cannot make on your behalf.

If one multi-page PDF is the goal, convert them individually and merge afterwards. That way the order is one you chose rather than one that fell out of a file listing.

How big the PDF turns out

Much larger than the SVG, because the PDF holds pixels where the SVG held instructions. Measured at the 1,024-pixel width this conversion uses: a flat two-colour logo of 167 bytes came back as a 19 KB PDF, a sheet of forty coloured icons of 3 KB as 42 KB, and a full-bleed gradient of 300 bytes as 31 KB.

What decides it is how much of the page carries ink and how much that ink varies, not how complicated the original instructions were — which is why the order of the three results is not the order of the three sources. Flat artwork with large areas of one colour compresses best; gradients, blurs and soft shadows cost the most. All of it is still small next to anything holding a photograph.

The drawing never leaves your machine

The conversion runs entirely in your browser, which is also why external references cannot be fetched: there is no network step at any point.

That matters for what people actually convert here — unreleased logos, floor plans, patent drawings, product artwork before a launch. None of it is uploaded, and the network tab of your developer tools will confirm it rather than ask you to take it on trust.

How to convert an SVG to a PDF

  1. Drop your SVG onto this page, or click to choose one.
  2. It is rendered and written as a PDF, in your browser.
  3. Download the PDF, and open it once to check nothing that was type has gone missing.

SVG vs PDF: two ways of describing the same shapes

SVG compared with PDF
SVGPDF
Full nameScalable Vector GraphicsPortable Document Format
File extension.svg.pdf
Media typeimage/svg+xmlapplication/pdf
CompressionUncompressedEither, depending on the setting
First published20011993
Published byW3CAdobe
SpecificationSVG 1.1ISO 32000-2
LicensingOpen standardOpen standard
Standing todayCurrentCurrent
Colour it can describeRGBRGB, CMYK, greyscale
Opens in a browserEvery browserEvery browser
Considered insteadPNGDOCX, HTML

What survives

Transparency survives. Both SVG and PDF store an alpha channel, so a cut-out stays cut out and nothing is filled in behind it.

Opening the result

The usual programs do not overlap: SVG opens in Inkscape, Adobe Illustrator and Figma, PDF in Adobe Acrobat, Preview and LibreOffice Draw — so whoever receives the result needs something from the second list.

What each format is for

The two are aimed at different work: SVG at the web, line art and logos and editing, PDF at handing a finished file over, print and archiving. That is worth weighing before converting, because the reason one exists is usually the reason the other is awkward.

SVG is W3C's format, published in 2001. The specification is SVG 1.1, and it is worth reading if the file has to outlive the tool that wrote it.

PDF comes from Adobe and dates from 1993, specified as ISO 32000-2. Adobe Acrobat, Preview and LibreOffice Draw all read it.

SVG to PDF: common questions

Does it stay sharp when printed large?

Not the way the SVG does. The drawing is rendered to an image 1,024 pixels wide and that image is what goes into the PDF, so an A0 print from it is those same 1,024 pixels stretched across a metre of paper. Across A4 it works out at about 124 dpi, against the 300 a printer asks for. Send the SVG itself for anything that will be printed large.

Will the text still be selectable?

No, and it will not be visible either unless you outline it first. The renderer used here has no fonts loaded, so a `` element draws nothing at all: the shapes arrive in the PDF and the words are missing. Convert type to paths in the drawing tool before converting.

What happens to the fonts?

They are not used, because there are none to use. An SVG names a font and expects the machine drawing it to supply one; this renderer supplies nothing, so text does not fall back to another face — it disappears. Outlining the type turns it into shapes, and shapes render exactly as drawn.

Are external images inside the SVG included?

Only if they are embedded. An SVG that references a picture by URL will not have it in the PDF, because nothing here fetches from the internet — the conversion runs offline in your browser by design. If your drawing includes photographs, embed them in the SVG first.

Is my drawing uploaded?

No. The SVG is rendered and the PDF written inside your browser. Nothing is sent, which matters for unreleased artwork, engineering drawings and anything under an agreement about where it may be stored.

More about these formats

Where these figures come from

The claims this page makes about SVG and PDF are checkable, and these are the documents that settle them.