Skip to content
Smallest possible syntactically valid files of different types
HTML Inform 7 Java C# Ada Go Other
Find file
Latest commit 531415c @subzey subzey committed with Make `json.json` even smaller
Closes #53.
Failed to load latest commit information.
.htaccess Add smallest possible .htaccess
Makefile Add Makefile
README.md Add license
ada.adb Ada
batch.bat Add Windows batch file, C#, Pascal and Bash shell script
bmp.bmp BMP
c.c C: Replace `(void){}` with `;`
cpp.cpp Get rid of line endings at EOF in the C and C++ files
csharp.cs C# Main method can be private. See http://social.msdn.microsoft.com/F…
css.css Initial commit
eiffel.e Eiffel
elf.o ELF
flash.swf Add Flash SWF
fortran-77.f FORTRAN 77 and Fortran 90
fortran-90.f90 FORTRAN 77 and Fortran 90
gif-transparent.gif added smalles possible yet valid gif, transparent gif, jpeg and png
gif.gif added smalles possible yet valid gif, transparent gif, jpeg and png
go.go Make go.go smaller
haskell_loop.hs Haskell examples
haskell_term.hs Haskell examples
html-2.0.html Initial commit
html-3.2.html Initial commit
html-4.0-strict.html Initial commit
html-4.01-frameset.html Update html-4.01-frameset according to: http://mathiasbynens.be/notes…
html-4.01-strict.html Initial commit
html-4.01-transitional.html Initial commit
html5.html Initial commit
i.i7x Match the naming conventions of the other files
ico.ico ICO
inform-6.inf Match the naming conventions of the other files
intercal.i INTERCAL
iso-html.html Initial commit
java-class.class Add Java class
java.java Replaced main with a static initializer block in the Java file
javascript.js Initial commit
jess.clp Add Jess
jpeg.jpg Make the JPEG even smaller
json-p.jsonp Add JSON & JSON-P files
json.json Make `json.json` even smaller
malbolge.malbolge Create malbolge.malbolge
manifest.appcache Add manifest.appcache
markdown.md Add Markdown/CommonMark polyglot
mp4.mp4 Add single-frame 8×8px H.264 MP4 without sound
objective-c.m Objective-C
ocaml.ml OCaml
opa.opa Opa minimal file (http://opalang.org)
pascal.pas Add Windows batch file, C#, Pascal and Bash shell script
perl.pl Perl
php.php Add PHP
png-transparent.png added smalles possible yet valid gif, transparent gif, jpeg and png
ppm.ppm Add Portable PixMap
promela.pml Add Promela
python.py python! \o/
rtf.rtf Rich Text Format
ruby.rb Add Ruby.
shell.sh /bin/bash is the default shell
story.ni Inform 7
svg.svg Initial commit
tads-3.t TADS 3
tiff.tif Make TIFF smaller
vertex-shader.vs adding vertex-shader.
wav.wav Add smallest possible WAV file
webm.webm Add WebM file
webp.webp Add WebP
whitespace.ws Whitespace
x-bitmap.xbm Add X Bitmap
xhtml-1.0-frameset.html Add HTML 4.01 Frameset and XHTML 1.0 Frameset files
xhtml-1.0-strict.xhtml Get rid of line endings at EOF in the C and C++ files
xhtml-1.1.xhtml Get rid of line endings at EOF in the C and C++ files
xhtml-basic-1.0.xhtml Get rid of line endings at EOF in the C and C++ files
xhtml-basic-1.1.xhtml Get rid of line endings at EOF in the C and C++ files
xhtml5.xhtml Update XHTML5 file as per http://mths.be/bmu
xml-1.0-valid.xml Add XML files
xml-1.0.xml Add XML files
xml-1.1-valid.xml Add XML files
xml-1.1.xml Add XML files

README.md

Smallest possible […] file

This repository aims to collect the smallest possible syntactically valid files in different programming/scripting/markup languages.

It all started with a blog post on the smallest possible HTML/XHTML files

Pull requests welcome!

Mathias

License

To the extent possible under law, the author has waived all copyright and related or neighboring rights to this work.

Something went wrong with that request. Please try again.