The Library of Babel

Short story by Jorge Luis Borges

For the website created by Jonathan Basile, see The Library of Babel (website).

"The Library of Babel"

Short story by Jorge Luis Borges

English edition cover, with illustration by Érik Desmazières

Original title| La biblioteca de Babel
Translator| numerous
Country| Argentina
Language| Spanish
Genre(s)| Fantasy
Publication
Published in| El Jardín de senderos que se bifurcan
Publisher| Editorial Sur
Publication date| 1941
Published in English| 1962

"The Library of Babel" (Spanish: La biblioteca de Babel) is a short story by Argentine author and librarian Jorge Luis Borges (1899–1986), conceiving of a universe in the form of a vast library containing all possible 410-page books of a certain format and character set.

The story was originally published in Spanish in Borges' 1941 collection of stories El jardín de senderos que se bifurcan (The Garden of Forking Paths). That entire book was, in turn, included within his much-reprinted Ficciones (1944). Two English-language translations appeared approximately simultaneously in 1962, one by James E. Irby in a diverse collection of Borges's works titled Labyrinths and the other by Anthony Kerrigan as part of a collaborative translation of the entirety of Ficciones.

## Plot

[edit]

Borges' narrator describes how his universe consists of an enormous expanse of adjacent hexagonal rooms. In each room, there is an opening in the floor to the hexagons above and below, four walls of bookshelves, and two junctions between hexagons each containing a latrine, a sleeping closet, and a stairwell. Though the order and content of the books are random and apparently completely meaningless, the inhabitants believe that the books contain every possible ordering of just 25 basic characters (22 letters, the period, the comma, and space). Though the vast majority of the books in this universe are pure gibberish, the laws of probability dictate that the library also must contain, somewhere, every coherent book ever written, or that might ever be written, and every possible permutation or slightly erroneous version of every one of those books. The narrator notes that the library must contain all useful information, including predictions of the future, biographies of any person, and translations of every book in all languages. Conversely, for many of the texts, some language could be devised that would make it readable with any of a vast number of different contents.

Despite these theories, all books are functionally totally useless to the reader, as any correct, legible text that can exist occurs due to pure chance and must exist alongside countless completely incorrect writings. This leads to many superstitions, cults, and heresies within the wider organized religion of the library; The "Purifiers" arbitrarily destroy books they deem nonsense as they scour through the library seeking the "Crimson Hexagon" and its illustrated, magical books. Others believe that since all books exist in the library, somewhere one of the books must be a perfect index of the library's contents; some even believe that a messianic figure known as the "Man of the Book" has read it, and they travel through the library seeking him. The narrator notes the population of the library has been gravely decimated by centuries of religious conflict and disease, but maintains his faith in the beauty and organization of the library as undeniable proof of a God or other demiurge, reaffirming his own attempts to find some ultimate meaning to the library and humanity's existence within it.

## Themes

[edit]

Borges in 1967

The story repeats the theme of Borges' 1939 essay "The Total Library" ("La Biblioteca Total"), which in turn acknowledges the earlier development of this theme by Kurd Lasswitz in his 1901 story "The Universal Library" ("Die Universalbibliothek"):

> Certain examples that Aristotle attributes to Democritus and Leucippus clearly prefigure it, but its belated inventor is Gustav Theodor Fechner, and its first exponent, Kurd Lasswitz. [...] In his book The Race with the Tortoise (Berlin, 1919  [sic]),[1] Dr Theodor Wolff suggests that it is a derivation from, or a parody of, Ramón Llull's thinking machine [...] The elements of his game are the universal orthographic symbols, not the words of a language [...] Lasswitz arrives at twenty-five symbols (twenty-two letters, the space, the period, the comma),[a] whose recombinations and repetitions encompass everything possible to express in all languages. The totality of such variations would form a Total Library of astronomical size. Lasswitz urges mankind to construct that inhuman library, which chance would organize and which would eliminate intelligence. (Wolff's The Race with the Tortoise expounds the execution and the dimensions of that impossible enterprise.)[4]

Many of Borges' signature motifs are featured in the story, including infinity, reality, cabalistic reasoning, and labyrinths. The concept of the library is often compared to Borel's dactylographic monkey theorem. There is no reference to monkeys or typewriters in "The Library of Babel", although Borges had mentioned that analogy in "The Total Library": "[A] half-dozen monkeys provided with typewriters would, in a few eternities, produce all the books in the British Museum." In this story, the closest equivalent is the line, "A blasphemous sect suggested [...] that all men should juggle letters and symbols until they constructed, by an improbable gift of chance, these canonical books." Borges makes an oblique reference to reproducing Shakespeare, as the only decipherable sentence in one of the books in the library, "O time thy pyramids", is surely taken from the beginning of Shakespeare's Sonnet 123: "No! Time, thou shalt not boast that I do change / Thy pyramids..."

Borges would examine a similar idea in his 1976 story, "The Book of Sand", in which there is an infinite book (or book with an indefinite number of pages) rather than an infinite library. Moreover, the story's Book of Sand is said to be written in an unknown alphabet and its content is not obviously random. In The Library of Babel, Borges interpolates Italian mathematician Bonaventura Cavalieri's suggestion that any solid body could be conceptualized as the superimposition of an infinite number of planes.

The concept of the library is also overtly analogous to the view of the universe as a sphere having its center everywhere and its circumference nowhere. The mathematician and philosopher Blaise Pascal employed this metaphor, and in an earlier essay Borges noted that Pascal's manuscript called the sphere effroyable, or "frightful".

The quote at the beginning of the story, "By this art you may contemplate the variation of the twenty-three letters," is from Robert Burton's 1621 The Anatomy of Melancholy.

## Philosophical implications

[edit]

### Infinite extent

[edit]

In mainstream theories of natural language syntax, every syntactically valid utterance can be extended to produce a new, longer one, because of recursion.[5] However, the books in the Library of Babel are of bounded length ("each book is of four hundred and ten pages; each page, of forty lines, each line, of some eighty letters"), so the Library can only contain a finite number of distinct strings. Borges' narrator notes this fact, but believes that the Library is nevertheless infinite; he speculates that it repeats itself periodically, giving an eventual "order" to the "disorder" of the seemingly random arrangement of books. Mathematics professor William Goldbloom Bloch confirms the narrator's intuition, deducing in his popular mathematics book The Unimaginable Mathematics of Borges' Library of Babel that the library's structure necessarily has at least one room whose shelves are not full (because the number of books per room does not divide the total number of books evenly), and the rooms on each floor of the library must either be connected into a single Hamiltonian cycle, or possibly be disconnected into subsets that cannot reach each other.[6]

### Quine's reduction

[edit]

W. V. O. Quine notes that the Library of Babel is finite, and that any text that does not fit in a single book can be reconstructed by finding a second book with the continuation. The size of the alphabet can be reduced by using Morse code even though it makes the books more verbose; the size of the books can also be reduced by splitting each into multiple volumes and discarding the duplicates. Writes Quine, "The ultimate absurdity is now staring us in the face: a universal library of two volumes, one containing a single dot and the other a dash. Persistent repetition and alternation of the two are sufficient, we well know, for spelling out any and every truth. The miracle of the finite but universal library is a mere inflation of the miracle of binary notation: everything worth saying, and everything else as well, can be said with two characters."[7]

## Comparison with biology

[edit]

The full possible set of protein sequences (protein sequence space) has been compared to the Library of Babel.[8][9] In the Library of Babel, finding any book that made sense was almost impossible due to the sheer number and lack of order. The same would be true of protein sequences if it were not for natural selection, which has picked out only protein sequences that make sense. Additionally, each protein sequence is surrounded by a set of neighbors (point mutants) that are likely to have at least some function. Daniel Dennett's 1995 book Darwin's Dangerous Idea includes an elaboration of the Library of Babel concept to imagine the set of all possible genetic sequences, which he calls the Library of Mendel, in order to illustrate the mathematics of genetic variation. Dennett uses this concept again later in the book to imagine all possible algorithms that can be included in his Toshiba computer, which he calls the Library of Toshiba. He describes the Library of Mendel and the Library of Toshiba as subsets within the Library of Babel.

## Influence on later works

[edit]

* Érik Desmazières provided etched illustrations for a 1997 edition of the short story, depicting the library as literally built in the shape of Bruegel's Tower of Babel.
* Umberto Eco's postmodern novel The Name of the Rose (1980) features a labyrinthine library, presided over by a blind monk named Jorge of Burgos. The room is, however, octagonal in shape.
* Russell Standish's Theory of Nothing[10] uses the concept of the Library of Babel to illustrate how an ultimate ensemble containing all possible descriptions would in sum contain zero information and would thus be the simplest possible explanation for the existence of the universe. This theory, therefore, implies the reality of all universes.
* The Unimaginable Mathematics of Borges' Library of Babel (2008) by William Goldbloom Bloch explores the short story from a mathematical perspective. Bloch analyzes the hypothetical library presented by Borges using the ideas of topology, information theory, and geometry.[11][12]
* In Greg Bear's novel City at the End of Time (2008), the sum-runners carried by the protagonists are intended by their creator to be combined to form a 'Babel', an infinite library containing every possible permutation of every possible character in every possible language. Bear has stated that this was inspired by Borges, who is also namechecked in the novel. Borges is described as an unknown Argentinian who commissioned an encyclopedia of impossible things, a reference to either "Tlön, Uqbar, Orbis Tertius" or the Book of Imaginary Beings.[citation needed]
* The Library of Babel, a website created by Jonathan Basile, emulates an English-language version of Borges' library. An algorithm he created generates a "book" by iterating every permutation of 29 characters: the 26 English letters, space, comma, and period. Each book is marked by a coordinate, corresponding to its place on the hexagonal library (hexagon name, wall number, shelf number, and book name) so that every book can be found at the same place every time. The website is said to contain "all possible pages of 3200 characters, about 104677 books".[13] For example, a coordinate may look like "389fj39l-w4-s5-v32" where, "389fj39l" is the hexagon name, "w4" specifies wall 4, "s5" specifies shelf 5, and "v32" specifies volume 32. This has inspired similar projects for images (permuting 4,096 colours onto a grid of 416×640 pixels) and audio (permuting one-second audio clips at a quality of 44.1kHz and 16-bit).
* In Steven L. Peck's novella A Short Stay In Hell (2009), the protagonist must find the book of his life's story in a library containing every possible book. Borges' story is mentioned directly, although the library is structured very differently. It is also explicitly finite in size, though it is more than a million orders of magnitude larger than the observable universe.
* Turkish media artist Refik Anadol created the installation Archive Dreaming (2017), inspired by Borges' The Library of Babel. Anadol's work employs machine learning algorithms to create an immersive, interactive digital archive, visually exploring infinite combinations of data and memory, thus reflecting Borges' concepts of infinite knowledge, randomness, and order.[14]
* Library of Ruina (2020) is a South Korean deck-building video game whose titular location is heavily inspired by the Library of Babel. People defeated in combat within the library are turned into books that can be manipulated in various means, which leads to the protagonist Angela trying to find the "One True Book".
* The world of Black Beacon (2024), a Chinese ARPG, takes much inspiration from the Library of Babel. In the game, the Babel Library is an endless labyrinth formed through infinite permutations based on the space within the Babel Tower. "The library holds everything; it is the sum of all things our languages can express."[15]

## See also

[edit]

* Encyclopedia Galactica (Asimov)
* Akashic Records
* Infinite monkey theorem
* Law of truly large numbers
* Normal number
* The Library of Babel (website)
* Universal library
* World Brain

## Notes

[edit]

1. ^ In fact Lasswitz (1904)[2][3] uses an alphabet of 100 symbols, and never mentions the numbers 22 or 25.

## References

[edit]

1. ^ Theodor Wolff-Thüring (1929). "Die Kunst des Lullus". Der Wettlauf mit der Schildkröte (in German). Berlin: Verlag August Scherl.
2. ^ Kurd Lasswitz (2017) [1904]. "The Universal Library". Mithila Review. 9. Translated by Erik Born.
3. ^ "Die Universalbibliothek". Traumkristalle (in German). 1984 [1904]. pp. 162–170.
4. ^ Jorge Luis Borges (2000) [1939]. "The Total Library". Non-Fiction 1922–1986 (PDF). Translated by Eliot Weinberger. London: Penguin. pp. 214–216.
5. ^ Noam, Chomsky (1969) [1965]. Aspects of the theory of syntax (1st pbk. ed.). Cambridge: M.I.T. Press. ISBN 9780262030113. OCLC 12964950.
6. ^ Hayes, Brian (January–February 2009), "Books-a-million (review of The Unimaginable Mathematics of Borges' Library of Babel)", American Scientist, 97 (1): 78–79, doi:10.1511/2009.76.78, JSTOR 27859279
7. ^ W.V.O Quine. "Universal Library". Archived from the original on 2014-06-28. Retrieved May 10, 2018.
8. ^ Arnold, FH (2000). "The Library of Maynard-Smith: My Search for Meaning in the protein universe". Advances in Protein Chemistry. 55: ix–xi. doi:10.1016/s0065-3233(01)55000-7. PMID 11050930.
9. ^ Ostermeier, M (March 2007). "Beyond cataloging the Library of Babel". Chemistry & Biology. 14 (3): 237–8\. doi:10.1016/j.chembiol.2007.03.002. PMID 17379136.
10. ^ "Theory of Nothing". Hpcoders.com.au. May 29, 2011. Retrieved May 10, 2018.
11. ^ Bloch, William Goldbloom (2008). The Unimaginable Mathematics of Borges' Library of Babel. Oxford University Press.
12. ^ "William Goldbloom Bloch's home page". Faculty.wheatoncollege.edu. Retrieved May 10, 2018.
13. ^ Sturgeon, Johnathon (2015-04-23). "Brooklyn Author Recreates Borges' Library of Babel as Infinite Website". Flavorwire. Retrieved 2020-11-22.
14. ^ https://www.ted.com/talks/refik_anadol_art_in_the_age_of_machine_intelligence
15. ^ "Black Beacon Official Website". Black Beacon. Retrieved April 24, 2025.

## External links

[edit]

* Érik Desmazières - La Bibliothèque de Babel at Warnock Fine Arts
* Library of Babel simulation by Basile.

* v
* t
* e

Jorge Luis Borges

Bibliography

Original
short story
collections|

| A Universal History of Infamy|

* "Man on Pink Corner"
* "On Exactitude in Science"

|

Ficciones|

* "Tlön, Uqbar, Orbis Tertius"
* "The Approach to Al-Mu'tasim"
* "Pierre Menard, Author of the Quixote"
* "The Circular Ruins"
* "The Lottery in Babylon"
* "An Examination of the Work of Herbert Quain"
* "The Library of Babel"
* "The Garden of Forking Paths"
* "Funes the Memorious"
* "The Form of the Sword"
* "Theme of the Traitor and the Hero"
* "Death and the Compass"
* "The Secret Miracle"
* "Three Versions of Judas"
* "The End"
* "The Sect of the Phoenix"
* "The South"

The Aleph|

* "The Immortal"
* "The Dead Man"
* "The Theologians"
* "Story of the Warrior and the Captive"
* "Biography of Tadeo Isidoro Cruz"
* "Emma Zunz"
* "The House of Asterion"
* "Deutsches Requiem"
* "Averroes's Search"
* "The Zahir"
* "The Writing of the God"
* "The Two Kings and the Two Labyrinths"
* "The Wait"
* "The Man on the Threshold"
* "The Aleph"

Dreamtigers|

* "Borges and I"

Dr. Brodie's Report|

* "The Encounter"
* "The Gospel According to Mark"

The Book of Sand|

* "The Other"
* "Ulrikke"
* "The Congress"
* "There Are More Things"
* "The Disk"
* "The Book of Sand"

Shakespeare's Memory|

* "Blue Tigers"
* "Shakespeare's Memory"

Essays|

* "Yo, Judío"
* "The Total Library"
* "The Analytical Language of John Wilkins"
* "A New Refutation of Time"

Other works|

* Historia de la eternidad
* Borges on Martín Fierro
* Book of Imaginary Beings
* Labyrinths
* Adrogue, con ilustraciones de Norah Borges
* "El Golem"

Related|

* Leonor Acevedo Suarez (mother)
* Jorge Guillermo Borges (father)
* Norah Borges (sister)
* Celestial Emporium of Benevolent Knowledge
* H. Bustos Domecq
* Margarita Guerrero
* Pedro Mata
* Borges and mathematics

Authority control databases

International|

* VIAF

National|

* Germany
* France
* BnF data
* Israel

Other|

* IdRef

*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template