A bearded man in a hooded robe sat studying a book in the style of the artist Alphonse Mucha

The Library of Babel is a short story by Jorge Luis Borges.

It describes a library made up of an “indefinite, perhaps infinite” number hexagonal of rooms, each lined on four sides by a bookshelf of five shelves, each self containing thirty-two books. Each book is four hundred and ten pages of forty lines, each line of eighty characters.

In the story, each book is made up of “twenty-five orthographic symbols” consisting of twenty-two lowercase letters, the comma, the full-stop, and the space. This website expands that to thirty-two symbols: the twenty-six lower-case letters of the English alphabet, the comma, full-stop, exclamation mark, question mark, hyphen, and space.

In its pages, the library contains every possible combination of these characters. No two books are the same — meaning that the library is “total — perfect, complete, and whole”. Everything that ever has been, or ever will be written using these thirty-two characters is contained somewhere within the library.

This is a re-creation of the library, explorable from your web browser. It is the only complete re-creation of the Library of Babel, in that it contains every single unique book — not just every unique page.

You can get started by browsing the library from the beginning, from a random page, or by searching for some text.

So far, 2767 unique rooms have been visited out of roughly 10197,473 total rooms.

Try searching for your name, your date of birth, or maybe a line from your favourite song or poem. Search for a paragraph from a book, perhaps a book that is yet to be written.

Please see the about page and the GitHub repository for a more technical explanation of how this site works and to view the source code. For any feedback, please get in touch via the GitHub repo or at babel@tdjs.tech.