XKCD Comic Viewer & Random Picker

Free client-side xkcd webcomic reader with random picker, topic search, mouseover alt-text viewer, and technical lore explanations.

Iconic Comics:
#327

Exploits of a Mom

October 10, 2007
School: "Hi, this is your son's school. We're having some computer trouble."
Mom: "Oh, dear — did he break something?"
School: "In a way — did you really name your son Robert'); DROP TABLE Students;-- ?"
Mom: "Oh. Yes. Little Bobby Tables, we call him."
School: "Well, we've lost this year's student records. I hope you're happy."
Mom: "And I hope you've learned to sanitize your database inputs."
Official Hover Alt-Text

"Her daughter is named Help I'm trapped in a driver's license factory."

This comic is the definitive pop-culture explanation of SQL Injection (SQLi). The school's attendance software concatenated unescaped student names directly into an active SQL query. When the string reached Robert');, the single quote closed the literal value, the semicolon ended the statement, and DROP TABLE Students;-- deleted the entire database table while commenting out remaining code. This strip popularized the nickname 'Little Bobby Tables' throughout developer culture.

Hall of Fame: Influential xkcd Cultural Milestones

Created by former NASA roboticist Randall Munroe in 2005, xkcd has profoundly shaped software engineering and cybersecurity norms.

Strip # Title Real-World Impact & Influence
#936 Password Strength Introduced 'correct horse battery staple', fundamentally shifting NIST and industry password policy away from obscure symbols toward multi-word passphrases.
#327 Exploits of a Mom Taught parameterized prepared statements to millions of programmers, cementing 'Little Bobby Tables' into OWASP training.
#927 Standards The universal law of tech architecture: creating a universal standard to replace 14 competing ones inevitably results in 15 competing standards.
#2347 Dependency Visualized the precarious supply chain vulnerability of open source modern digital infrastructure resting on a project maintained by someone in Nebraska.
#1053 Ten Thousand Encouraged constructive empathy when introducing newcomers to well-known facts instead of condescension: 'You're one of today's lucky 10,000.'

About this tool

How to use it

  1. Click 'Random Comic' to explore iconic tech, science, and math webcomics by Randall Munroe.
  2. Navigate sequentially using 'Previous' and 'Next' or type a comic number or topic keyword (e.g. 'python', 'sql', 'standards').
  3. Inspect the interactive comic strip, hover/tap for the official mouseover alt-text tooltip.
  4. Toggle 'Explain Comic' to view in-depth explanations of computer science lore, math paradoxes, and trivia.
  5. Click 'Official xkcd.com' or 'Explain xkcd' to view original community discussion.

Why it matters

Developers, scientists, and webcomic fans often want to quickly find, reread, or share iconic xkcd strips without ads, broken mobile images, or slow network connections. This tool provides an instant, offline-first reader with curated cultural favorites and full explanations.

When to use it

Use when explaining SQL injection or sanitization (Little Bobby Tables), finding the classic 'Why are you sword fighting in the hallway?' compiling strip, or looking up password entropy guidelines (Correct Horse Battery Staple).

Common questions

What license does xkcd publish under?

xkcd is published under the Creative Commons Attribution-NonCommercial 2.5 License (CC BY-NC 2.5) by Randall Munroe. Attribution is preserved on every comic card with direct links to xkcd.com.

Where is the hidden title/alt text?

On the original site, Randall Munroe embeds secondary punchlines in the HTML 'title' attribute. This tool renders that punchline directly in a dedicated callout below the comic for easy reading on mobile touchscreens.

Does this tool work completely offline?

Yes. A rich curated archive of iconic strips across programming, mathematics, physics, and internet culture is bundled with clean vector illustrations and explanations, running 100% locally.

What is 'Explain xkcd'?

Explain xkcd is a collaborative community wiki dedicated to deconstructing the esoteric mathematical formulas, physics concepts, and programming easter eggs in every strip.