Glossary

What Is an SVG File?

An SVG file is a Scalable Vector Graphics image written in XML text instead of a grid of pixels. Because it stores shapes as math, it stays razor-sharp at any size, from a tiny favicon to a printed banner, while the file itself stays small. Logos, icons, and web graphics rely on it for exactly that reason.

TL;DR

SVG is a sharp, scalable vector format for logos and icons. Rasterize it to JPG or PNG when a tool needs pixels instead of paths.

SVG renders natively in every current web browser, covering more than 98% of browsers in use today.

Why an SVG Stays Sharp

A photo saved as JPG or PNG is a fixed grid of colored dots, so blowing it up turns those dots into visible blocks. An SVG instead records instructions like draw a circle here, fill it blue. The browser redraws those instructions at whatever size you ask for, so the edges stay clean whether the image is 16 pixels wide or two meters across.

You can open an SVG in any text editor and read it. The shapes, colors, and coordinates are plain XML, which means designers and developers can edit an SVG by hand or generate one with code.

Where SVG Works Best

SVG shines for anything built from clean lines and flat color: company logos, app icons, charts, diagrams, and interface buttons. It scales for high-resolution screens without shipping multiple image sizes, and the text inside an SVG stays selectable and searchable, which helps both accessibility and search engines.

When SVG Is the Wrong Choice

SVG is built for shapes, not for photographs. A snapshot has millions of subtle color variations that cannot be described as a handful of paths, so saving a photo as SVG produces a huge, slow file. For photos and detailed images, a raster format like JPG or PNG is the right tool.

Because an SVG is code that the browser runs, an SVG from an untrusted source can carry embedded scripts. Only display SVG files you created or received from a source you trust, and sanitize uploads on any site that accepts them.

How to Convert an SVG File

When a tool or platform will not accept SVG, you need a raster copy. A batch image converter rasterizes a folder of SVG files into JPG or PNG at the resolution you choose, so each shape is rendered into pixels at print or screen quality in one pass.

What you'll need
  • Batch Picture Resizer: converts and resizes folders of images to JPG or PNG on Windows
  • A Windows PC, version 10 or 11
  • The SVG files you want to rasterize


Mitä opit

Related Terms