Polotno

File converter

PDF to SVG converter

Convert PDF to SVG in your browser, page by page. Single-page PDFs return as one .svg; multi-page PDFs as a .zip of per-page SVGs. Edit in the Polotno editor before downloading.

Quick answer

Drop a PDF, get one SVG per page (single PDF → single SVG; multi-page → ZIP). Edit in the live editor first if you want.

Formula: PDF → Polotno JSON (per page) → SVG (vector, browser-only)

Drop a PDF file here to convert it to SVG

or

Runs entirely in your browser. Your file never leaves your device.

PDFs are everywhere; SVGs are what designers and developers actually want to work with: editable, scalable, web-friendly. This converter parses your PDF in the browser and gives you back clean per-page SVGs, with the option to edit the design in a full editor before you download.

Per-page SVGs, packaged sensibly

SVG has no notion of multi-page documents, so we split: one SVG per page, named page-01.svg, page-02.svg, and so on, all in a single ZIP. If your PDF is a single page, you skip the ZIP and download the SVG directly. If you want to grab only a specific page, opt to edit, delete the pages you don't need, then export.

Converting a PDF to a vector file

“PDF to vector” and “PDF to SVG” are usually the same request. A PDF is already a vector container — text, paths and fills are stored as instructions, not pixels — so converting one to a vector file is not tracing or redrawing anything. It is reading the instructions that are already in there and re-expressing them in a format your editor can open. That is why the vectors survive in a way that “image to vector” never manages. It is not lossless — fonts are remapped to the nearest available family, so check type-heavy artwork.

SVG is the vector format that matters here because every browser, Illustrator, Inkscape, Affinity Designer, Figma and every cutting machine reads it. If you were sent a PDF and asked for “the vector file”, an SVG is almost always the thing being asked for. Drop the PDF above and you get one per page.

The exception that catches people out: a PDF that contains nothing but a scan or a screenshot has no vector data to recover. It is a bitmap in a vector wrapper. The converter will still produce an SVG, but that SVG contains the same bitmap — it will not scale cleanly and it cannot be recoloured path by path. Turning that into real vector artwork is image tracing, a different operation needing a different tool. If your PDF came out of a design application it will convert properly; if it came out of a scanner it will not.

Vector preserved where possible

The conversion uses Mozilla's pdf.js via the @polotno/pdf-import package, which we built for SDK customers who needed to import existing PDF assets into Polotno editors. It walks the PDF operator stream, recovering text as text, shapes as paths, embedded images as images. The output isn't a screenshot wrapped in SVG. It's a real vector reconstruction.

Edit during conversion

As soon as the PDF parses, the design opens in the live Polotno editor. Move things, retype text, swap colors, drop in new images, delete pages you don't need, then click Download SVG in the bar above the editor. Single pages export as .svg, multi-page designs as a .zip. No round-trip through Illustrator, no upload to a third-party service.

The same conversion in code

The Polotno SDK exposes the same primitives this page is built on. To do the conversion in your own browser or Node.js code:

pdf-to-svg.ts
import { pdfToJson } from "@polotno/pdf-import";
import { jsonToSVG } from "@polotno/svg-export";

const buffer = await file.arrayBuffer();
const json = await pdfToJson({ pdf: buffer });

// An SVG document holds one page, so export them one at a time —
// the same reason multi-page PDFs come back as a ZIP above.
const svgs = await Promise.all(
  json.pages.map((page) => jsonToSVG({ ...json, pages: [page] })),
);

Full API reference: PDF Import and the Import & Export overview.

How it works

  1. Step 1

    Drop the PDF

    Parsed in your browser with @polotno/pdf-import, which reads the PDF's operator stream rather than screenshotting the page. Nothing is uploaded.
  2. Step 2

    Edit first, if you want to

    The parsed design opens in a live editor. Retype text, change colours, delete pages you don't need. Skip this step entirely if you just want the file.
  3. Step 3

    Download one SVG per page

    A single-page PDF downloads as one .svg. A multi-page PDF downloads as a .zip containing page-01.svg, page-02.svg and so on, because SVG has no concept of pages.

Frequently asked questions

Q: How do I convert a PDF to SVG?

Drop your .pdf file on the converter above. The PDF is parsed with @polotno/pdf-import (which uses Mozilla's pdf.js under the hood), every page is converted to a Polotno design, and each design is rendered to an SVG. Single-page PDFs return a single .svg; multi-page PDFs return a .zip containing one SVG per page.

Q: Why a ZIP for multi-page PDFs?

SVG is a single-page format. It has no concept of page 1, page 2, etc. So when your PDF has more than one page, the converter packages each page as a separate SVG file and returns them in a ZIP archive as page-01.svg, page-02.svg, and so on. Open the ZIP, you'll see one SVG per page.

Q: Is the SVG vector or rasterized?

Vector wherever the source allows it. Text comes out as <text> (selectable and re-stylable), shapes come out as <path>s, embedded images stay as <image> elements. Scanned PDFs are image-only by definition. There's no vector data to recover, so those convert to SVGs that wrap the embedded bitmap.

Q: Can I edit the PDF before downloading the SVG?

Yes. That's the default flow. As soon as the PDF is parsed, the design opens in the embedded Polotno editor where you can change text, colors, layout, add new elements, delete pages you don't need, etc. Click Download SVG in the bar above the editor when you're ready. Single-page exports are .svg, multi-page exports are a .zip.

Q: Does it work for Adobe Illustrator (.ai) files?

Yes, and there's a dedicated page for it: the AI to SVG converter at /tools/ai-to-svg. Illustrator writes a full PDF representation into every .ai file by default, so the same parser reads it directly — you don't need to export a PDF copy first. Use that page instead of this one, since it accepts .ai and explains the Illustrator-specific details.

Q: How do I convert a PDF to a vector file?

Drop it above — a PDF is already a vector container, so this is a format change rather than a trace. Text, paths and fills come out as <text> and <path> in the SVG, which is the vector format Illustrator, Inkscape, Affinity, Figma and cutting machines all open. The one case where it does not work is a PDF that only holds a scan: there is no vector data in the file to recover, so the SVG just wraps the same bitmap. That needs image tracing instead.

Q: Is SVG the right vector format, or do I need EPS or AI?

SVG for anything on the web, for Cricut and Silhouette cutting machines, and for handing artwork to a developer. AI and EPS are Adobe-era print formats — still requested by some printers and some older workflows, but every current design tool imports SVG, and unlike EPS it is a plain-text format you can inspect and diff. If a printer specifically asks for EPS or AI, open the SVG in Illustrator or Inkscape and save it back out from there.

Q: How does this compare to pdf2svg or Inkscape's command line?

pdf2svg is a small C utility built on Poppler, and Inkscape can convert from the command line too. Both are excellent and both need installing, a terminal, and a per-page loop for multi-page files. This page needs a browser. The output differs in emphasis: those tools aim to reproduce the page, this one parses the PDF into an editable design first, which is why you can change the content before exporting. For a scripted batch on a server, use pdf2svg or the SDK snippet below; for a handful of files, use this.

Q: Can I use the SVG with Cricut or Silhouette?

Yes — SVG is the format both accept for cut files. Two things to check before uploading: the design should be real paths rather than a wrapped bitmap (see the scanned-PDF caveat above), and text you want cut rather than printed usually needs converting to outlines in the cutting software. Open the SVG there and confirm the cut lines look right before committing material to it.

Q: What about complex PDFs from InDesign or scanned documents?

Vector PDFs from design tools usually convert best. Highly stylized PDFs with custom fonts may need font fallback. Scanned PDFs (just images, no vector data) will convert to SVGs that wrap the embedded image. Useful, but not true vectorization. For OCR or image tracing, use a dedicated OCR/vectorization tool first.

Want this in your app? Embed Polotno SDK.

TRUSTED BY

100,000+

CREATORS

300+

BUSINESSES

ExpediaUnbounceLovePopPostGridPredis.ai