PNG is a raster format with fixed pixels, SVG is a vector format with infinite scaling. For maps, the difference is fundamental.
For quick preview, social media, presentations, applications.
For printing at any size, editing, web maps, infographics.

PNG (Portable Network Graphics) was created in 1995–1996 as a patent-free replacement for GIF and is standardised by the W3C and as ISO/IEC 15948. It is the default lossless image format of the web.
A PNG stores a grid of pixels in chunks: a header with size and colour type, compressed image data and optional metadata such as physical resolution or text. Compression is lossless, so thin lines and small lettering stay crisp, and an alpha channel allows transparency.
Every browser, operating system and image viewer opens PNG; Photoshop, GIMP, Paint.NET, Affinity Photo, Word, PowerPoint and Google Docs accept it directly.
It works everywhere, shows exactly what was rendered and keeps map edges and labels sharp where JPEG would smear them. Transparency makes it handy for overlays and slide designs.
A raster has a fixed resolution: zoom in too far and pixels show, and the print size depends on the pixel count. Objects cannot be selected, restyled or measured, and high-resolution maps of large areas produce big files.
osm2cdr renders the map on the server in the chosen style and saves the sheet as an image. Sheet size and resolution are set at export, and the sheet can be picked automatically from the size of the area; if the pixel count would exceed safe limits, the resolution is lowered automatically instead of the export failing. An order arrives as a ZIP with the image plus .pgw and .prj files.

SVG (Scalable Vector Graphics) is an open standard of the World Wide Web Consortium (W3C), first published in 2001; SVG 1.1 is the version every tool supports. It describes two-dimensional graphics as text, so an image can be displayed by a browser, styled with CSS and changed with JavaScript.
The file is an XML document: shapes such as path, polyline, rect and text sit inside group elements, each with stroke, fill and transform attributes. Groups can carry names and IDs, which design tools present as layers. Coordinates are measured on the canvas defined by the viewBox attribute.
All modern browsers display SVG directly. Inkscape uses it as its native format; Adobe Illustrator, Figma, Affinity Designer, Sketch and CorelDRAW import and export it, and laser-cutting and plotting software reads it as well.
SVG scales without loss, stays light for line work and is both editable and web-ready. As text it can be versioned, searched and generated by code, and individual elements can react to clicks and hovers on a web page.
Very dense maps produce huge element trees that slow down browsers and editors. Print-production features such as CMYK colour, spot colours and bleed boxes are missing, and editors interpret some features — fonts, filters, masks — slightly differently.
osm2cdr writes one UTF-8 SVG document in which roads, buildings, water and greenery are real vector outlines sorted into named groups, so selecting a group selects all the water or all the roads at once. A separate layer carries a catalogue of object names that can be searched and selected in the editor's object list without extra labels being drawn on the map.
At the most basic level, PNG is a lossless raster image format, while SVG is an XML-based vector graphics format for the web. On disk, PNG is binary pixels compressed with DEFLATE; SVG is plain UTF-8 XML text that compresses well.
Here is what the comparison table above means in practice, point by point:

In short: choose PNG when the map is needed as a ready picture for slides, documents, websites or social posts. Choose SVG when the map will be restyled in a design tool, cut on a laser or embedded in a web page.
You need a map image for a presentation slide or a blog post today. PNG drops into PowerPoint, Google Slides or any CMS without conversion and looks exactly as it was rendered.
A designer has to adapt the map to a brand palette for a printed brochure. SVG lets them recolour roads and water as groups and resize without losing sharpness, whereas a PNG would have to be traced or rendered again.
You are sending a map to a laser cutter or a vinyl plotter. These machines follow vector paths, so SVG is the file they need; a PNG gives them only pixels to engrave or, at best, to trace.
Turning a PNG into SVG means tracing pixels, which produces wobbly outlines and garbled labels — never as clean as exporting vector data in the first place. Turning SVG into PNG is easy but final: choose the pixel size carefully, because enlarging a PNG later makes it blurry. Also note that an osm2cdr PNG order includes .pgw and .prj georeferencing files in the archive; they help in GIS and CAD but can simply be ignored for slides.
For a high-resolution print of a raster map, raise the resolution at export rather than enlarging the PNG afterwards; for unlimited sharpness, SVG avoids the question altogether.
On osm2cdr, pick PNG when you need a finished picture for screens, documents and social posts. Pick SVG when the map will be edited, cut, printed large or embedded as scalable graphics on a website.
osm2cdr builds PNG and SVG directly from OpenStreetMap data — there is no need to download raw OSM extracts or install conversion tools. The steps:
Converter pages related to PNG and SVG explain each route in more detail:
PNG is a lossless raster image format, whereas SVG is an XML-based vector graphics format for the web. In the comparison table, PNG is ahead on fast rendering and photo quality; SVG is ahead on scaling and editable.
PNG. It works everywhere, shows exactly what was rendered and keeps map edges and labels sharp where JPEG would smear them.
When scaling and editable matter most. SVG scales without loss, stays light for line work and is both editable and web-ready.
There is no dedicated PNG-to-SVG converter page on osm2cdr. Both formats are exported directly from OpenStreetMap data: select an area once and run the export for each format you need.
PNG files open in every browser and image viewer, Photoshop, GIMP, Word and PowerPoint. SVG files open in every web browser, Inkscape, Adobe Illustrator, Figma, Affinity Designer and CorelDRAW.
PNG holds only pixels; an osm2cdr order puts a .pgw world file and a .prj next to the image in a ZIP, so GIS and CAD programs can place it on the map. SVG coordinates belong to its own canvas (the viewBox), not to the Earth; an osm2cdr order therefore delivers the SVG in a ZIP with georeferencing files, including a .prj, so GIS and CAD programs can place it.