🔷 Scalable SVG Output · 72–600 DPI · RGB / Grayscale / B&W · Batch ZIP · Zero Uploads

PDF to SVG Converter

Convert every page of a PDF into a scalable SVG file — with configurable DPI for the embedded raster, colour mode (RGB, Grayscale, or Black & White), background options, and ZIP download for batch pages. Fully browser-based, zero uploads, no server involved.

How it works: PDF.js renders each page to an HTML canvas at your chosen DPI. The canvas pixel data is encoded as a Base64 PNG and wrapped inside a valid <svg> element with correct viewBox, width, height, and resolution metadata. The resulting SVG scales perfectly in browsers, design tools, and vector editors — and embeds cleanly in any HTML page.

Drop PDF files here

or click to browse

PDF SVG

Supports .pdf · Multi-page · Batch SVG output · ZIP download

SVG Output Settings

72 dpi
Screen
96 dpi
Web
150 dpi
Draft
200 dpi
Good
300 dpi
Print
400 dpi
High
600 dpi
Max
36 – 600
RGB (Full Colour)
Grayscale
Black & White

e.g. 1-5, 8, 11

Darker128Lighter
Embed title tag
Responsive (no fixed w/h)
Minify SVG output

Share this Tool

The Complete Guide to PDF to SVG Conversion

Everything web developers, graphic designers, archivists, and print professionals need to know about converting PDF pages to SVG — the format, DPI selection, colour modes, and professional workflows.

What Is SVG Format?

SVG — Scalable Vector Graphics — is an XML-based open standard for describing two-dimensional graphics. Developed by the World Wide Web Consortium (W3C) and published as a standard in 1999, SVG defines images using mathematical descriptions of shapes, paths, and text rather than a fixed grid of pixels. The core consequence of this is scalability: an SVG image can be rendered at any size — from a 16×16 px favicon to a 10-metre billboard — without any loss of sharpness, jagged edges, or pixelation.

Unlike raster formats such as JPEG, PNG, or TIFF, which store a fixed number of pixels, SVG stores the instructions for drawing an image. A circle in SVG is described as <circle cx="50" cy="50" r="40"/> — not as a grid of coloured pixels. The browser, printer, or design application that renders the SVG recalculates this geometry at whatever resolution it needs, producing perfect output every time.

SVG vs PNG vs TIFF: SVG is resolution-independent and scales infinitely — ideal for logos, icons, diagrams, and any content with crisp lines. PNG is a fixed-resolution lossless raster format, best for photos and complex images at a known size. TIFF is the archival-grade raster format for print and professional imaging. When your PDF contains text, diagrams, charts, or line art that needs to be embedded in a website or scaled to any output size, SVG is the correct choice.

SVG File Structure — How This Tool Generates SVG from PDF

This tool renders each PDF page to a high-resolution canvas using PDF.js, then encodes that canvas as a Base64 PNG image and wraps it inside a standards-compliant SVG document. The resulting SVG file contains a full <image> element referencing the embedded raster data, with correct viewBox, physical dimensions, and optional metadata tags.

SVG Root Element

Every SVG begins with an <svg> element declaring the XML namespace, the viewBox (mapping the coordinate space to the page dimensions in pixels), and optionally the physical width and height in millimetres or inches. The responsive option removes fixed width/height so the SVG scales fluidly in any container.

Embedded Image Data

The page content is stored as a Base64-encoded PNG inside an SVG <image> element with a data:image/png;base64,… href. This makes the SVG a fully self-contained single file — no external dependencies, no broken links — that opens correctly in any browser, Inkscape, Illustrator, or Figma without any additional assets.

Metadata & Title Tags

When the "Embed title tag" option is enabled, the SVG includes a <title> element with the source filename and page number, plus a <desc> element with conversion metadata including DPI, colour mode, and generation timestamp. This makes the SVG accessible to screen readers and searchable in asset management systems.

Minification Option

The minify option strips XML whitespace, comments, and optional attributes from the SVG wrapper to reduce the file overhead. The Base64 image data itself cannot be reduced without affecting quality, but minification removes typically 200–500 bytes of SVG boilerplate — useful when embedding SVGs directly in HTML where every byte counts.

DPI Selection Guide — Resolution of the Embedded Raster

Because SVG wraps a raster image, the DPI you choose determines the pixel density of the embedded PNG — and therefore the sharpness of the SVG when zoomed in or printed. A higher DPI produces a sharper embedded image but a larger file. Unlike a pure vector SVG (which would look sharp at any DPI), a PDF-to-SVG conversion with an embedded raster image has a ceiling on perceived sharpness determined by the DPI you select.

DPI Embedded PNG (A4) Est. SVG Size Best For
72 dpi595 × 842 px~200 KBWeb thumbnails, email, previews
96 dpi794 × 1122 px~350 KBWeb display, HTML embedding
150 dpi1240 × 1754 px~700 KBPresentations, digital display
200 dpi ⭐1654 × 2339 px~1.2 MBGeneral purpose, responsive web, design tools
300 dpi2480 × 3508 px~2.5 MBPrint-ready, Inkscape editing, press production
400 dpi3307 × 4677 px~4.5 MBHigh-fidelity archiving, large-format display
600 dpi4961 × 7016 px~9 MBArchival master SVGs, maximum sharpness

Estimated SVG file sizes use PNG compression for the embedded raster at A4 dimensions. Actual sizes vary with page content complexity.

Colour Mode Guide

RGB (Full Colour)

The full 24-bit colour render from PDF.js is embedded directly as a colour PNG inside the SVG. All colour information from the original PDF is preserved. Best for illustrated documents, marketing materials, and any content where accurate colour reproduction is important. Produces the largest SVG files of the three modes.

Grayscale

The rendered canvas is converted to 8-bit grayscale using luminosity weighting (0.299R + 0.587G + 0.114B) before PNG encoding. Produces files roughly one-third the size of RGB. Best for text-heavy documents, business reports, and SVGs destined for black-and-white print or single-colour digital workflows.

Black & White

Each pixel is thresholded to pure black or pure white based on luminosity and the configurable threshold slider. Produces the smallest SVG files — the 1-bit PNG compresses extremely efficiently. Ideal for line-art documents, text-only pages, fax-equivalent archiving, and any SVG that will be used in a single-colour context.

Why Convert PDF to SVG?

PDF is designed for portable, print-faithful document exchange. SVG is designed for scalable, web-first visual content. Converting from PDF to SVG bridges these two worlds — making a document's pages available as graphics that can be embedded in web pages, design tools, and applications without rasterisation artefacts or resolution constraints.

Web Embedding

SVG is a first-class web format — supported natively by all modern browsers without any plugin or viewer. An SVG of a PDF page can be embedded directly in HTML using an <img>, <object>, or inline <svg> tag, and it scales fluidly with CSS just like any image. No viewer component required.

Design Tool Integration

Inkscape, Figma, Affinity Designer, and Adobe Illustrator all open SVG files natively. Converting a PDF page to SVG gives designers a scalable canvas representation of the document that they can use as a tracing reference, composition base, or annotation layer — without needing the original PDF application installed.

Responsive Document Display

The responsive SVG option removes fixed width and height attributes, so the page image scales to fill its container. This makes it trivial to create document preview components for web applications where the display size is unknown at conversion time — the SVG adapts to any viewport from mobile to widescreen.

Print & Production Workflows

Print production software and web-to-print platforms that accept SVG input can receive high-DPI PDF-to-SVG conversions for proofing, layout composition, and template generation. A 300 DPI RGB SVG of a PDF page carries enough pixel density for accurate print proofing while being embeddable in web-based production interfaces.

Who Benefits?

Web & Front-End Developers

Developers building document preview components, PDF viewers, or content management systems use PDF-to-SVG conversion to generate lightweight, responsive page images that integrate cleanly into HTML/CSS layouts without requiring JavaScript PDF rendering on the client.

Graphic Designers

Designers who receive client briefs, brand guidelines, or artwork as PDFs convert pages to SVG for use as scalable reference canvases in Figma, Inkscape, or Illustrator — creating a version they can annotate, trace, or composite without converting to a fixed-resolution raster that would pixelate when scaled.

Content & Marketing Teams

Marketing professionals who create PDFs in InDesign or Canva convert individual pages to SVG for use as web graphics, social media content, and email illustrations — getting a web-native format that renders sharply on every display, including high-DPI Retina screens.

Educators & Researchers

Academics who publish research papers, lecture slides, and instructional materials as PDFs convert pages to SVG for embedding in course management systems, interactive textbooks, and academic web portals — formats that accept SVG but not PDF, or where a scalable page image is more appropriate than a downloadable document.

Real-World Use Cases

🌐 Document Preview in a Web App (96 DPI RGB Responsive)

A SaaS document management platform needs to show a preview of uploaded PDFs in a web interface. Each PDF page is converted to a 96 DPI responsive SVG. The SVG is embedded with an <img> tag and scales fluidly in CSS — perfect for mobile, tablet, and desktop breakpoints without any client-side rendering library.

🎨 Design Reference Canvas (300 DPI RGB)

A brand designer receives a 30-page brand guidelines PDF. They convert each page to a 300 DPI RGB SVG and import into Figma as a reference layer. The SVG scales cleanly at any zoom level, giving accurate visual fidelity when reviewing spacing, typography, and colour usage — without PDF viewer dependency.

📄 Legal Document Archive as Web-Viewable Assets (200 DPI Grayscale)

A legal technology platform converts court filings and contracts from PDF to 200 DPI grayscale SVG for display in their web-based case management interface. Grayscale mode reduces SVG file sizes while preserving every character at full legibility. The SVGs are cached as static assets and served directly by a CDN.

🖨️ Print-on-Demand Template Generation (300 DPI B&W)

A print-on-demand service accepts customer artwork as PDFs and converts form pages to 300 DPI B&W SVG for their web-based personalisation editor. The B&W SVG acts as a non-printing overlay showing the document structure — form fields, borders, and layout guides — that customers use to position their personalisation content.


Key Features of Our PDF to SVG Converter

Scalable SVG output with embedded high-resolution raster, configurable DPI from 72 to 600, three colour modes, responsive mode, minification, and batch ZIP — all running privately in your browser.

01

Standards-Compliant SVG Output

Generates well-formed SVG 1.1 documents with correct XML namespace (xmlns="http://www.w3.org/2000/svg"), a properly formatted viewBox attribute, embedded <title> and <desc> metadata, and a self-contained <image> element. Output is valid in W3C SVG validators and opens natively in all browsers and vector design tools.

02

72–600 DPI with Presets

Seven DPI presets (72, 96, 150, 200, 300, 400, 600) with descriptive labels and a custom DPI input accepting any value from 36 to 600. The DPI controls the pixel density of the PNG embedded inside the SVG — higher DPI means sharper detail when zoomed in or printed, at the cost of a larger file.

03

Responsive & Minify Options

Responsive mode removes fixed width and height attributes from the SVG root, leaving only viewBox so the SVG scales fluidly via CSS. Minify mode strips whitespace and optional boilerplate from the SVG wrapper for a leaner embed. Both options can be combined for optimal web-embed SVGs.

04

Batch ZIP & Zero Upload

Convert all pages of one or multiple PDFs in a single operation. Each page becomes an individually named SVG file. Download all as a ZIP archive with one click. Your PDF files never leave your device — PDF.js renders locally, the SVG encoder runs in JavaScript, and the ZIP is built entirely in browser memory.

Pro Tips for Best Results

🌐
Use 96–150 DPI Responsive for web embedding

For SVGs embedded in web pages, 96–150 DPI with the Responsive option enabled produces the best balance of sharpness and file size. Modern browser CSS can scale SVGs to any display size, so the embedded PNG only needs to be dense enough to look sharp at the largest expected display size — typically 1x screen DPI for non-Retina, or 2x for HiDPI displays.

🎨
Use 300 DPI RGB for design tool imports

When importing into Figma, Inkscape, or Illustrator, use 300 DPI RGB mode to ensure the embedded image is dense enough for accurate colour review and fine detail inspection at full zoom. The SVG will be large (2–3 MB for an A4 page) but will look sharp at 100% zoom in any design application.

🖤
Enable Minify for direct HTML inline embedding

When pasting SVG source code directly into HTML (inline SVG), enable the Minify option to remove unnecessary whitespace and XML comments from the SVG wrapper. The stripped XML parses identically in all browsers but reduces the number of characters that appear in your HTML source, making the page lighter and easier to read in developer tools.

📂
Use Page Range to extract specific pages

For large PDFs, use the Page Range field to convert only the pages you need — e.g. "1, 5-8" for a cover page and a specific section. At 300 DPI, each A4 SVG is 2–3 MB, so a full 50-page document produces 100–150 MB of SVG data. Targeting specific pages keeps output sizes manageable for both download and subsequent use.

Frequently Asked Questions

Conclusion

PDF to SVG conversion is a practical necessity for web developers, graphic designers, and content teams who need scalable, embeddable, browser-native versions of PDF pages. Having a free, browser-based tool that generates self-contained SVG files — with a configurable raster DPI from 72 to 600, three colour modes, responsive and minify options, and batch ZIP download — gives anyone working with document imagery a reliable, private, and instant conversion workflow. Every SVG produced opens correctly in browsers, Inkscape, Figma, Illustrator, and any other SVG-compatible application, making it a versatile asset for modern document and web workflows.

Ready to Convert Your PDFs to SVG?

Drop your PDFs above — choose DPI, colour mode, and download scalable SVG files. Zero uploads, completely free.