Building a World Map with only 500 bytes

Simon Willison's Blog News

Summary

Iwo Kadziela created a method to generate a credible ASCII world map using only 445 bytes of data by leveraging deflate compression and JavaScript's DecompressionStream API.

No content available
Original Article
View Cached Full Text

Cached at: 07/05/26, 10:28 AM

# Building a World Map with only 500 bytes Source: [https://simonwillison.net/2026/Jul/4/building-a-world-map-with-only-500-bytes/](https://simonwillison.net/2026/Jul/4/building-a-world-map-with-only-500-bytes/) 4th July 2026 \- Link Blog **[Building a World Map with only 500 bytes](https://www.experimentlog.com/blog/building-a-world-map-with-only-500-bytes)**\([via](https://news.ycombinator.com/item?id=48747762)\) Iwo Kadziela \(assisted by Codex\) figured out a way to generate a credible ASCII world map using 445 bytes of data: ![A map of the world rendered as black asterisk ASCII characters, it looks very good](https://static.simonwillison.net/static/2026/world-map-ascii.png) The key trick is to use deflate compression, which is then wired together using this neat snippet of JavaScript\. I didn't know you could use`fetch\(\)`with`data:`URIs like this: ``` fetch('data:;base64,1ZpLsgIxCEXnrM...==').then( r => r.body.pipeThrough(new DecompressionStream('deflate-raw')) ).then( s => new Response(s).text() ).then( t => b.innerHTML = '<pre style=font-size:.65vw>' + t ) ```

Similar Articles

Can you build a recognizable World Map in under 500 bytes?

Hacker News Top

A developer explores creating a recognizable world map in under 500 bytes by using ASCII characters and deflate-raw compression, achieving a 445-byte compressed map despite the uncompressed text being 8,523 bytes.

The largest available Minecraft world, totalling 15 TB

Hacker News Top

The 2b2t.place team announces the release of the largest available Minecraft world download, totaling 15 TB of highly compressed data covering a 1,024,000² area of the 2b2t server, along with additional dimensions, created using bot accounts over a year of development.

Quake in 13 Kilobytes (2021)

Hacker News Top

An exploration of how the game Quake was compressed into just 13 kilobytes, showcasing extreme technical optimization.