What’s the weirdest thing you’ve seen Doom (1993) run on? A fridge? A pregnancy test? Well, brace yourself: a high school student just took this legendary FPS and stuffed it inside…a PDF file. Yep, you read that right—now Doom is officially a piece of interactive reading material.
Let’s unpack this madness!
Doom Goes Paperless (Kind of)
Inspired by other quirky PDF games like Pdftris (yep, that’s Tetris in a PDF) and Breakout, this innovative student decided to take it up a notch. The result? DoomPDF—a fully playable version of Doom that exists within the pages of a PDF document.
Now, before you whip out your trusty Adobe Reader, there’s a catch: you’ll need a Chromium-based browser to run it. Sorry, Internet Explorer users (all three of you).

How Does It Even Work?
You’re probably thinking: “Is this some kind of black magic?” Not exactly. The magic sauce here is JavaScript support in PDFs. According to the creator, Adobe Acrobat’s JS spec is surprisingly robust—we’re talking 3D rendering and even display detection. Naturally, our coding genius saw this as an invitation to bring the demons to PDF-land.
The student took Doom’s original C code and compiled it using an old-school version of Emscripten, targeting asm.js instead of WebAssembly. Translation? The code runs smoothly inside a PDF’s limited JavaScript sandbox.
Gameplay: Surprisingly Playable!
So, how do you actually play Doom in a PDF?
The PDF file takes your inputs via text fields and buttons. Movement, shooting, map navigation—it’s all there. The creator admits the visuals aren’t exactly RTX ON quality. The PDF renderer supports only six shades of gray, giving the game a retro, pixelated charm.
The performance? Around 12.5 FPS. Not exactly buttery smooth, but hey—it’s a freaking PDF game. Set your expectations accordingly!

Tech Wizardry: Breaking Down the Challenge
Making Doom playable in a PDF wasn’t a walk in the park. The creator faced a ton of hurdles, particularly with framebuffer rendering. Initially, they tried using 64,000 individual text boxes to simulate pixels. Shockingly, this approach turned out to be… wildly impractical.
Instead, they settled on a more efficient method: one text field per game line, using ASCII characters to create the shades of gray. The result? A retro vibe that’s oddly fitting for Doom’s demonic aesthetic.
Licensing: Free as a Lost Soul
The best part? DoomPDF is licensed under GNU GPL v2, meaning it’s free to download, tinker with, and share. It’s just one more addition to the ever-growing list of “Doom on X” projects.
Why PDF Doom Matters (and Why It’s Hilarious
Let’s be honest—there’s no practical reason for Doom to be playable in a PDF. But that’s what makes it amazing. It’s a testament to the sheer creativity and persistence of the gaming community. If there’s a screen (or even something vaguely resembling a screen), someone out there will try to run Doom on it.
And we salute them for it.
Related: Doom Running in CAPTCHA: The Strangest Application of the Game You’ll See Today
Final Thoughts: Reading Just Got a Lot More Fun
The next time your boss sends you a dull PDF report, imagine how much cooler it would be if you could slay some demons in between reading charts and graphs. Thanks to DoomPDF, that dream is now a (somewhat laggy) reality.
So, grab your BFG and get ready to turn the page—literally.
Source: Github
