How to Convert HTML to APK: Step-by-Step Guide
Start with one self-contained HTML page. Add your app details, keep your signing key, and build locally.
Updated · About these guides
Prepare your HTML
Include the styles and JavaScript your page needs. For offline use, avoid external fonts, scripts, images, and APIs unless their content is embedded. This release accepts a single HTML file up to 100 KB or pasted HTML within the section limit; it does not import website ZIP archives.
Create your project
Open HTML to APK, enter an app name, then paste the HTML or select your file. Create the project and customize its package name, icon, theme, and navigation. Add more HTML or text pages in Pages if needed.
Save, sign, and download
Save the project. In Build, create a signing key with a password of at least 10 characters. Download the encrypted backup and keep the password separately. Choose APK, generate the package, and download it.
Test the actual output
Install on an Android test device and try every interaction. For offline testing, turn off the device's connection. A layout preview is not proof that scripts, downloads, or external services will work.
For an update
Use the same package name and signing key. Save the new content and generate a build with a higher version code. Export a fresh project backup so your version counter moves with the project.
Which HTML input will work?
| Your input | What to do |
|---|---|
| One HTML file with inline CSS and JavaScript | Import the file or paste its contents into an HTML section. |
| HTML that references ./app.js, ./style.css, or images/ | Embed the dependencies in the HTML, or host the complete site and use Website mode. |
| React, Vue, or other framework source files | Build and host the frontend first. This converter does not run npm or compile your source project. |
| PHP, Python, Node.js, or database code | Keep the backend on your server and package the HTTPS address. |
| A ZIP archive | ZIP import is unavailable in this release. Do not rename the archive to .html. |
Checklist
- Start with the small offline example linked below.
- Keep an imported HTML file at or below 100,000 bytes.
- Include a viewport meta tag so the page fits a phone screen.
- Check relative links, remote fonts, images, and API calls.
- Keep a project backup and an encrypted key backup outside browser storage.