A large part of the 1947 children's novel The Twenty-One Balloons by William Pene du Bois takes place on Krakatoa, where several families have established a wealthy and fanciful colony based on fictional diamond mines on the island.
Krakatoa has been featured as a subject and a part of the story in various television and film dramas. In the 1953 film Fair Wind to Java, an American sea captain and a pirate leader race one another to recover a fortune in diamonds hidden on Krakatoa, which begins its final eruption as they search the island for the treasure.[28] The island was a prominent part of the plot of '"Crack of Doom," episode six of the Irwin Allen television series The Time Tunnel in 1966. It was also featured as the main part of the story line in the 1969 film, Krakatoa, East of Java (retitled Volcano in a re-release in the 1970s; the title contains a rather large geographical error, as Krakatoa is west of Java), which depicts an effort to salvage a priceless cargo of pearls located perilously close to the erupting volcano. An Indonesian martial arts action film, Krakatau (1977), starring Dicky Zulkarnaen and Advent Bangun, also set the story on the mountain. In more recent years, it has been the subject of a 2006 television drama, Krakatoa: Volcano of Destruction and again in 2008 as Krakatoa.
In Klaus Teuber's board game Seafarers of Catan, the "Krakatoa Variant" is a scenario involving an island composed of three volcano tiles.
In 1973, the American progressive rock band Styx released a spoken-word track called "Krakatoa" on its album The Serpent Is Rising. Written by then-guitarist John Curulewski along with Paul Beaver and Bernie Krause, the song tells the story of Krakatoa's eruption and the subsequent return of life to the island.
The British heavy metal band Saxon also released a song about the 1883 eruption of Krakatoa, called "Krakatoa", on the 2010 re-release of its 1985 album Innocence Is No Excuse.