Is there a program that can convert HTML, CSS and JavaScript a exe?
A similar question was asked on StackOverflow: How can you convert html css and javascript into a exe?

  • Do you want something that translates Javascript to native x86 code? That seems like a pretty tall order. – Ira Baxter May 19 '15 at 9:41

While the (previously) accepted answer was correct, in the intervening years the industry has gone ahead by leaps and bounds... Two very good open-source and extremely actively developed options are

  • Electron, by GitHub. Lets you build cross-platform Windows, MacOS, and Ubuntu applications from HTML/JavaScript/CSS. It works by embedding them into a Chromium build alongside with Node.js. Many applications suck as Slack and Visual Studio code are built with Electron.
  • Cordova, by the Apache Foundation. Targets Android, iOS, and Windows from HTML/JavaScript/CSS. It works by embedding them into a WebView (or whatever is the equivalent on the target platform).
  • Proton Native. Works with React Native components and does not use Electron (see above), which makes generated apps therefore more "lightweight" than the ones generated by Electron. Uses libui under the hood.

Yes there is a program HTML Compiler that allows you to convert an entire HTML application (using CSS, JavaScript, Images and more) into an standalone Windows application.

There is also ExeOutput for PHP that lets you create applications in native format for Windows with PHP, JavaScript and HTML. Convert PHP scripts, websites, JavaScript, HTML, databases into stand-alone apps for Windows (single EXE files) that do not require a Web server nor PHP distribution.

  • 3
    There is nothing wrong with self-answered questions, however, one should disclose one's affiliation - especially with commercial products. Are you in any way affiliated with HTML Compiler? – ComFreek Dec 22 '14 at 15:11
  • 3
    No, I am not affiliated. @ComFreek – Davidenko Dec 22 '14 at 15:13

I am not taking exe literaly, but you can setup a desktop application with node-webkit which will basicaly run your webapp localy in a webkit browser. see http://strongloop.com/strongblog/creating-desktop-applications-with-node-webkit/


I'm working on a thing like this right as we speak - meanwhile, ZZEE and ExeOutput are probably your best option. But if you're (or whoever is) interested in my pet project, just drop me a mail to business at deneskellner dot com and I'll get back to you when it's out for testing.

  • Welcome aboard. The OP accepted his own answer of ExeOutput almost 3 years ago. You don't give a link to ZZEE and you don't explain how these recommendations answer the OP's question. – Mawg Oct 29 '17 at 11:17
  • These statements are all true. – dkellner Oct 30 '17 at 9:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.