Sharp PNGs at any size
An SVG is a set of drawing instructions, not a grid of pixels, so it can be drawn at any size without blurring. This tool draws each file directly at the size you choose rather than making a small image and stretching it, so a 24-pixel icon exported at 4× is as crisp as one drawn by hand at 96 pixels. Scale multiplies the width and height written in the SVG: 2× suits most phone and laptop screens, 3× and 4× suit slides, print previews and app-store graphics. Exact width is handy when a form asks for, say, a 512-pixel-wide logo: the height follows the drawing's own proportions. The largest PNG the tool makes is 16,384 pixels a side and 100 megapixels in total; phones may run out of memory sooner, and the table then says the image is too large.
SVGs with no width or height
Many icon libraries and design tools save SVGs with only a viewBox, for example viewBox="0 0 24 24", and no width or height. Here the viewBox gives the size: 24 × 24 at 1×, 48 × 48 at 2×. When a file has a width and height but no viewBox, the tool adds one so the drawing scales with the image instead of being cut off. Sizes written in centimetres, millimetres, inches or points are turned into pixels at 96 per inch, the standard CSS ratio. A file with no size at all gets 300 × 150, the default browsers use for an image with no size of its own, and the table says so. SVG code copied out of a web page often lacks the xmlns line; it is added automatically.
Why outside images and fonts are blocked
An SVG can point to other files: a photo on another website, a font, a stylesheet, or a script. Browsers treat an SVG shown as an image as a closed box: JavaScript is switched off and outside resources are not loaded, though anything embedded in the file as a data: URL still works (MDN Web Docs, page last modified 13 May 2025, read 23 October 2026). This tool draws every file that way, and also strips scripts, event attributes such as onload, and links to other files before drawing, so nothing is fetched and no code runs. The table counts what was removed. If a logo comes out with a missing photo or a different font, embed that image or font in the SVG and convert it again.
Arabic text and fonts inside SVG
Text stored as text in an SVG is drawn by the browser, so Arabic letters join and run right to left as they do on a web page. The font must be on your device or embedded in the SVG, because fonts linked from other sites are blocked. If the PNG shows a different typeface, open the SVG in your design program and either convert the text to outlines (paths) before exporting, or embed the font. Converting to outlines is the safest choice for a logo, because the result then looks the same on every computer. Emoji and rare symbols also depend on the fonts installed on your device.
Broken, damaged and very large files
Every file is checked before drawing. An empty file, a PNG or JPG renamed to .svg, or a page that is not SVG at all gets a plain message instead of a blank image. Broken XML, such as a tag that is never closed, is reported with the line number the browser gives. Old drawing-program files that use entity definitions are expanded once, while files with nested definitions, a known way to freeze a browser, are refused. Files over 20 MB are refused, and so is any size that would make a PNG wider or taller than 16,384 pixels. Compressed .svgz files are unpacked in the browser first. To go the other way and put PNG images into a document, use PNG to PDF; to make PNGs smaller for a website, convert them to WebP.