Prince of Persia in Browser

Updated Oct 13, 2026 · 1 more we checked and added

PrinceJS rebuilds the 1989 MS-DOS Prince of Persia in HTML5 and JavaScript, so the whole game runs in a browser tab with nothing to install. It loads in about 2 MB.

It keeps what made the original famous: fluid animation, deadly traps, sword fights and one hour of real time to reach the princess.

PrinceJS (Prince of Persia) cover illustration

PrinceJS (Prince of Persia)

Status
Plays instantly Link up on Oct 13, 2026
Mode
Single-player platformer with the 60-minute timer
Host
princejs.com
Download
~2 MB (measured Oct 13, 2026)
Phone
Phone: limited

An HTML5 and JavaScript reimplementation of the 1989 MS-DOS Prince of Persia. It loads in about 2 MB to a Press to Start screen and recreates the original levels and the one-hour limit to rescue the princess. We could not confirm touch controls on a phone.

Open project ↗

Opens a third-party site. Skip anything that asks you to install a launcher or extension.

How Prince of Persia in browser works

Prince of Persia in browser is possible thanks to PrinceJS, a reimplementation of the MS-DOS version written in HTML5 and JavaScript. It is not an emulator running the original program; the game was rebuilt for the web, which is why it loads in about 2 MB.

Open the page and you reach a Press to Start screen. From there it aims to recreate the original dungeon levels and the one-hour limit.

About the 1989 original

Jordan Mechner created Prince of Persia, first released on the Apple II in 1989 and soon after on MS-DOS and many other computers. Its animation was rotoscoped, traced from video of real movement, which made the prince run, jump and climb with a weight that few games of the time had.

The setup is simple. The princess has been imprisoned by the vizier Jaffar, and you have 60 minutes of real time to escape the dungeons, climb the palace and save her. That time limit, running whether you are winning or not, is a large part of why the game is still remembered.

Tips for the 60-minute run

Prince of Persia in browser: why a reimplementation matters

Most old DOS games reach the browser through an emulator that runs the original program. PrinceJS takes a different route: it rebuilds the game in JavaScript and draws it with HTML5. That is why the download is only about 2 MB and why it starts quickly.

The trade-off is that a reimplementation is a new program. It aims to recreate the original levels and the one-hour limit, and in our test it reached the Press to Start screen without problems, but tiny details may differ from the original MS-DOS release.

Prince of Persia went on to become a long-running series. Ubisoft relaunched the series in 2003 with Prince of Persia: The Sands of Time, but the 1989 original is still where the precise, unforgiving platforming began.

Keyboard and phones

Plan on playing with a keyboard on a desktop or laptop, as the original was designed for the keyboard. We did not test the in-game controls beyond the Press to Start screen.

In our test on a phone-sized screen the page stayed black and did not respond, so we could not confirm touch controls. If you want to try on a tablet, a connected keyboard is the safer bet.

For another classic from the same era of PC gaming, try Diablo in browser, or go faster and louder with Doom in browser.

Tips before you play

FAQ

Is Prince of Persia in browser free?

PrinceJS is free to play in the browser.

Is it the original game?

It is a reimplementation of the MS-DOS version, written for the web.

How long does Prince of Persia take to finish?

The game gives you 60 minutes of real time to rescue the princess, so a full run fits within an hour.

Who made the original Prince of Persia?

Jordan Mechner created it, first released on the Apple II in 1989.

Is PrinceJS an emulator?

No. It rebuilds the MS-DOS game in HTML5 and JavaScript instead of running the original program, which keeps the download to about 2 MB.

Does PrinceJS need the original game files?

No. It is a standalone reimplementation that loads in about 2 MB.

Related

← Back to all Radiant Optimizer games