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

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.