Skip to main content
  1. Home
  2. Emerging Tech
  3. Web
  4. News

Digital Library of Babel contains every book that has ever been (and ever could be) written

Add as a preferred source on Google

In his infamous short story The Library of Babel, author Jorge Luis Borges presents readers with an interesting thought experiment. The story is centered around fictional library that contains every possible combination of all the letters of in the alphabet, in a massive collection of 410-page novels. Because the collection contains every possible combination of characters, the library holds not only every book that has ever been written, but also every book that could ever be written.

The only problem is that, in addition to the complete works of Shakespeare, Voltaire, and every other author who has ever been born; the library also contains a staggeringly large amount of incomprehensible gibberish. Many of the permutations of alphabetic characters are totally random strings of letters, so a large portion of the library’s books are pure nonsense. There’s also no effective way to organize so many volumes of worthless dribble, so in the story, the librarians who maintain the collection quickly lose their minds trying to reign in the unfathomably large amount of nonsensical books.

Recommended Videos

It’s a fascinating story, but the thing is, a library of this size could never actually exist in the physical world. The Library of Babel would have contained 1.9×10^1834097 books, which is astronomical compared to the 22 million (2.18×10^6) found in some of the world’s biggest brick-and-mortar libraries. Clearly, a physical Library of Babel would be impossible to build — but what if the library could exist digitally?

This very idea is what inspired artist and programmer Jonathan Basile to create a digital version of the Library of Babel. His library contains a massive collection of digital novels (currently 10^4677 and counting), all of which are are 410 pages long, and contain a completely random arrangement of letters. The tricky part is that even this digital version of the Library of Babel has much too large a footprint for any practical storage or accessibility. Basile discovered that just one million books required almost two terabytes of space, so he quickly recalculated with a new approach.

Using random number generators and a reversible seed-style page generator similar to the ones used by search engines and library systems, visitors call up entries in the digital library using algorithms run backwards to search the database. In plain English, this means that any user who searches for a phrase or string of text in the library receives a freshly generated “copy” of that text from the seed that held its place on the digital shelves.

The system works the same way if a library visitor selects a random result from the site’s search function, although true to the story’s philosophy, much of what you’ll find is nonsensical strings of letters. Users more interested in browsing the library shelves can sort through a simple visualization of the Library of Babel’s hexagonal chamber system, selecting walls of books, specific shelves, and then names on the spines. Basile understands that the concept of a universal library has its dangers, and the site includes a forum where users and fans can discuss the library’s philosophical implications, as well as real-world legal issues like plagiarism, copyright laws, and the impact the library might have on the publishing industry.

If you’re less concerned with the legal and philosophical issues in play, you can still get a kick out of the library’s enormity. You can search for your own writing in the library, or even stories about your birth, your death (or someone else’s birth or death, regardless of whether or not those events have happened yet). It gets spooky fast.

Chloe Olewitz
Former Digital Trends Contributor
Chloe is a writer from New York with a passion for technology, travel, and playing devil's advocate. You can find out more…
Anker just exposed a big problem with portable power stations
Appliance, Device, Electrical Device

When you're shopping for a portable power station, there's one number that's almost impossible to ignore: battery capacity. A 2 kWh battery should give you roughly 2 kWh of usable power, right? Unfortunately, things aren't quite that simple. Anker SOLIX has published new efficiency data for its S Series portable power stations, and it's putting the spotlight on something that doesn't get nearly as much attention as capacity: how much of the energy stored inside the battery actually makes it to your devices.

According to Anker, portable power stations are commonly advertised with efficiency figures measured under relatively heavy loads, where they can reach roughly 89% to 92% efficiency. But that's not necessarily how most people use one during an outage. Think about what you'd actually plug in. A Wi-Fi router might sip power continuously, a refrigerator switches its compressor on and off throughout the day, and a CPAP machine could run overnight. Together, those devices may draw just a fraction of what a large power station is capable of supplying. And that's where efficiency can start slipping.

Read more
OpenAI’s first gadget sounds like a tiny expressive AI companion
The device will have a doughnut-shaped body, built-in cameras, and moving parts
OpenAI press image

For months, reports have suggested that OpenAI’s first hardware product would be a screen-free smart speaker designed to act more like an AI companion. We already knew it could understand its surroundings, be carried around the home, and proactively help users. A new Bloomberg report now gives us a clearer picture of what the device may actually look like.

As per the report, OpenAI’s first gadget will be shaped like a doughnut and measure about the same size as a hockey puck. You will be able to carry it between rooms or leave it nearby on whatever surface is convenient. The device is expected to be on the expensive side, as the company has pondered pricing it around $300 to $400. A release is currently planned for 2027.

Read more
Google Antigravity just built an AI translator that works without the internet
Electrical Device, Switch, Robot

Google has shown off a new AI project that could make language barriers a little less intimidating, and it doesn't need an internet connection to do it. The company has introduced the Gemma Translator, a compact prototype built in collaboration with Antigravity. Unlike most AI translation tools that rely on cloud processing, this device runs entirely offline using Gemma 4 E2B, Google's lightweight open model. Everything happens locally on the device, making it both portable and independent of an internet connection. The prototype is powered by a Raspberry Pi 5 and includes a microphone and speaker inside a custom 3D-printed enclosure, creating a self-contained translator you can carry almost anywhere.

AI translation, without the cloud

Read more