# What is SVG in EPUB?

Source: https://epublab.com/glossary/svg/ (updated 2026-11-03)

SVG (Scalable Vector Graphics) is the XML vector image format allowed in EPUB 3, either as image files or inline in content documents. Unlike JPEG or PNG, it stays sharp at any size.

## Why it matters when you convert a PDF to EPUB

Charts and diagrams in a PDF are often vector drawings; converting them to SVG keeps them sharp, while rasterising them is simpler and more compatible with older readers. Fixed-layout pages built as SVG need a viewBox.
