Image

Sample SVG 1MB File

SVG — scalable vector graphics, resolution-independent

Click below for an instant download — no signup, no redirect.

Download 1MB SVG1 MB

TestFile-svg-1mb.svg

File details

FormatSVG
Extension.svg
MIME typeimage/svg+xml
Size1 MB
Exact bytes1,048,576
FilenameTestFile-svg-1mb.svg
Format versionSVG 1.1 (W3C Recommendation)
Contents~800–1,000 elements: rectangles, circles, polylines, nested <g> groups, linear gradients, text; 3–4 levels of nesting
EncodingUTF-8 XML; no compression; viewBox coordinate system

What is a 1MB SVG file useful for?

A 1 MB SVG with moderate complexity is appropriate for testing SVG rendering performance in browsers and SVG-to-PNG rasterisation pipelines. Use it to benchmark Inkscape headless, CairoSVG, or Puppeteer rendering time, to verify that your SVG thumbnail generator handles grouped elements and nested transforms correctly, and to test that SVG upload validators apply a file-size limit (SVG has no binary structure, so an oversized SVG is XML that can be trivially generated).

What's inside this file?

Generated by svg.py. Contains approximately 800–1,000 vector elements including rectangles, circles, polylines, grouped shapes (<g> elements with transform attributes), linear gradients (<linearGradient>), and text labels. Element nesting depth reaches 3–4 levels. No path data (d attribute) — all shapes use basic primitive attributes. The XML is unminified with standard indentation. Complexity level: moderate.

Download via curl

curl -L "http://localhost:8000/files/svg/TestFile-svg-1mb.svg" \
  -o TestFile-svg-1mb.svg

Need different parameters?

Generate a custom SVG file with exact settings.

⚙ Generate custom SVG

Related formats

Other SVG sizes

Frequently asked questions