1 KB SVG sample file

An SVG file of exactly 1,024 bytes. It is a valid Scalable Vector Graphics file, generated for this site and checked with an independent parser.

Download

sample-svg-1kb.svg

1 KB1,024 bytes

Download 1 KB SVG

Direct download. No sign-up and no waiting.

Type
image/svg+xml
SHA-256
f55dd96f922cf325b3f8049136990c182a2f98a084afe2dc0ffbe1ad5e887e41
Direct URL
https://sampletestfiles.com/downloads/svg/sample-svg-1kb.svg

What is in this file

A 1200 x 900 vector image made of 10 semi-transparent circles and rectangles on a dark background. It contains no scripts, fonts or external references. An XML comment brings it to the exact size.

Shapes10 circles and rectangles
View box1200 x 900
ScriptsNone
EncodingUTF-8 (ASCII characters only)

How the file begins

The opening lines of sample-svg-1kb.svg, exactly as they appear in the file.

<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 900" width="1200" height="900" role="img" aria-labelledby="t">
<title id="t">Sample SVG image (1 KB)</title>
<rect width="1200" height="900" fill="#16202b"/>
<circle cx="1110" cy="629" r="49" fill="#1aa6b7" fill-opacity="0.6"/>
<circle cx="785" cy="423" r="17" fill="#1aa6b7" fill-opacity="0.6"/>
<rect x="632" y="255" width="75" height="48" fill="#ebebeb" fill-opacity="0.55"/>
<circle cx="469" cy="664" r="65" fill="#1aa6b7" fill-opacity="0.6"/>
<circle cx="1115" cy="126" r="47" fill="#1aa6b7" fill-opacity="0.6"/>
<rect x="1106" y="744" width="63" height="28" fill="#c2409a" fill-opacity="0.55"/>
<circle cx="764" cy="409" r="20" fill="#ebebeb" fill-opacity="0.6"/>
<circle cx="971" cy="257" r="37" fill="#d64933" fill-opacity="0.6"/>

Preview

Displays the file in your browser.

Where 1 KB matters

The smallest practical test file: 1,024 bytes, small enough to travel in a single network packet. These are the default limits a file of this size is useful for testing:

SystemLimitNote
Ethernet1,500 bytes (typical MTU)A 1 KB payload fits in one packet with its headers.
Browser cookies4,096 bytes per cookie1 KB is well inside the limit; the 5 KB sample is over it.

All 1 KB sample files

Use this file for

  • Smoke tests in CI that must run in milliseconds
  • Testing SVG sanitisation on upload
  • Checking rasterisation to PNG

Testing notes for SVG

  • An SVG shown with an <img> tag cannot run scripts, but the same file opened directly or inlined can. Sanitise uploads or serve them as attachments.
  • SVG has no intrinsic byte-to-pixel relationship: a few hundred bytes can describe an image of any dimensions.

SVG format reference

Technical details

File namesample-svg-1kb.svg
FormatSVG (Scalable Vector Graphics)
Extension.svg
MIME typeimage/svg+xml
Size1,024 bytes (1 KB)
KindText
Signature3C 73 76 67
SHA-256f55dd96f922cf325b3f8049136990c182a2f98a084afe2dc0ffbe1ad5e887e41
Created2026-10-10
ValidationExact size, signature bytes and structure checked when the file was generated
PreviewAvailable on this page
SourceGenerated for this site; not copied from elsewhere
LicenceFree to use, modify and redistribute (terms)
CategoryImages

Validated for expected format and integrity. As with any download, scan the file with your own security tools before opening it. How files are made and checked

Download from the command line and verify

Fetch the file with curl, then compare its checksum with the SHA-256 value above.

curl -o sample-svg-1kb.svg 'https://sampletestfiles.com/downloads/svg/sample-svg-1kb.svg'
sha256sum sample-svg-1kb.svg     # Linux
shasum -a 256 sample-svg-1kb.svg # macOS

On Windows, run Get-FileHash sample-svg-1kb.svg -Algorithm SHA256 in PowerShell. A matching value proves that the download is complete and unaltered.

Related files

Questions about this file

Is this file exactly 1 KB?
Yes. It is 1,024 bytes, which is 1 KB in the binary units that operating systems and server limits use (1 KB = 1,024 bytes).
What is inside the 1 KB SVG file?
A 1200 x 900 vector image made of 10 semi-transparent circles and rectangles on a dark background. It contains no scripts, fonts or external references. An XML comment brings it to the exact size.
Do the SVG samples contain scripts?
No. They contain only circles, rectangles and a title element, with no scripts, fonts or external references.