# HTML2APK (html2apk.com) > HTML2APK explains and supports converting HTML to APK — packaging an HTML file, a ZIP of a web project, an HTML5 game or a live website into a signed Android app. Building is done in two free Android apps on Google Play (HTML & ZIP to APK Builder for files/ZIPs/games, Website to App for website URLs). Free builds are signed APKs with no watermark; Pro adds AAB output for Google Play, an account-owned signing key, splash screen, onboarding, native tabs and push notifications. Key facts: - Bundled files are served inside the app from https://appassets.androidplatform.net/web/ — use relative paths, not root (/) paths. - Content limits: 5 MB zipped (free), 18 MB (Pro). Apps run on Android 5.0 (API 21)+ and target Android 16 (API 36). - Android WebView supports storage, fetch, canvas/WebGL, WebAssembly, audio/video, camera and location (with permission); it does not support Web Push/Notifications, Web Share, downloads, PDF viewing or Bluetooth/USB/NFC. - Release WebView apps cannot be inspected with chrome://inspect; use an on-screen error console. ## How-to guides - [HTML to APK, step by step](https://www.html2apk.com/how-to/html-to-apk-step-by-step/): Convert HTML to APK in 7 steps: prepare index.html, fix paths, bundle CDN files, zip, build a signed APK on your phone, install and test. Free, no Android Studio. - [AI-made HTML to APK](https://www.html2apk.com/how-to/ai-generated-html-to-apk/): Built an app with ChatGPT, Claude, Gemini or another AI? How to turn the generated HTML into an installable Android APK — the prompt, the fixes and the build. - [HTML app ideas](https://www.html2apk.com/how-to/html-app-ideas/): Twenty practical app ideas that work brilliantly as HTML converted to APK — offline tools, business apps, learning apps and games — with what each one needs. - [Bootstrap site to APK](https://www.html2apk.com/how-to/bootstrap-site-to-apk/): Turn a Bootstrap 5 site into an APK that works offline: bundle bootstrap.min.css and the JS bundle, fix navbar and modals for the back button, and build. - [Tailwind project to APK](https://www.html2apk.com/how-to/tailwind-project-to-apk/): Turn a Tailwind CSS site into an Android APK: replace the Play CDN with compiled CSS, keep dark mode and safe areas, and package it so it works offline. - [CodePen project to APK](https://www.html2apk.com/how-to/codepen-to-apk/): Export a pen from CodePen, JSFiddle, JS Bin or Glitch and turn it into an Android APK: combine HTML, CSS and JS, resolve external resources and build. - [HTML template to APK](https://www.html2apk.com/how-to/html-template-to-apk/): Convert a bought or free HTML template into an Android APK: strip demo pages, fix preloaders and contact forms, check the licence and package it lean. - [Ebook or docs to APK](https://www.html2apk.com/how-to/html-ebook-to-apk/): Publish an ebook, course notes, manual or documentation as an offline Android reader app: structure the chapters, add search and reading progress, convert to APK. - [HTML slides to APK](https://www.html2apk.com/how-to/reveal-js-slides-to-apk/): Package a reveal.js, Slidev or Marp HTML presentation as an offline Android app — for trade shows, training and sales decks that must work with no Wi-Fi. - [Dashboard or internal tool APK](https://www.html2apk.com/how-to/html-dashboard-to-apk/): Turn an HTML dashboard, data-entry form or internal company tool into an Android APK — offline charts, cached API data, sync queues and staff distribution. - [Mobile UI checklist](https://www.html2apk.com/how-to/mobile-ui-checklist-html-app/): 14 CSS and HTML fixes that make a converted HTML app feel native on Android: touch targets, 100dvh, overscroll, tap highlight, text selection, keyboard and more. - [Dark mode in an HTML app](https://www.html2apk.com/how-to/dark-mode-html-app/): Add dark mode to an HTML app that follows the Android system theme: CSS variables, prefers-color-scheme, color-scheme, images, a manual toggle and testing. - [Custom fonts offline](https://www.html2apk.com/how-to/offline-fonts-html-app/): Bundle Google Fonts and custom web fonts inside an HTML APK so they work offline: download WOFF2, write @font-face, subset, preload and avoid layout shift. - [Forms in an HTML app](https://www.html2apk.com/how-to/html-forms-in-android-app/): Build HTML forms that work inside an Android APK: input types and keyboards, autofill, validation, the on-screen keyboard and submitting to an API. - [Audio and video in an HTML app](https://www.html2apk.com/how-to/audio-video-in-html-apk/): Play audio and video in an HTML app on Android: which formats to bundle, autoplay rules, games' Web Audio unlock, background behaviour and keeping the APK small. - [Share an APK without Play](https://www.html2apk.com/how-to/share-apk-without-play-store/): Distribute your HTML APK without the Play Store: direct download links, QR codes, email, messaging apps, alternative stores — plus updates and install warnings. - [Play Protect warnings](https://www.html2apk.com/how-to/play-protect-warning-html-apk/): Why Google Play Protect warns about or blocks a new sideloaded APK, what 'unrecognised app' means, how to install anyway, and how developers reduce warnings. - [Debug on the phone](https://www.html2apk.com/how-to/debug-html-apk-without-computer/): Find JavaScript errors in an HTML APK when release builds hide DevTools: an on-screen error console, visible logs, network checks and a blank-screen triage. ## Questions - [What is HTML2APK?](https://www.html2apk.com/questions/what-is-html2apk/): HTML2APK (HTML to APK) is the process of packaging a web page or web app — HTML, CSS, JavaScript and assets — into an Android application package (APK) that ins - [Is converting HTML to APK free?](https://www.html2apk.com/questions/is-html-to-apk-free/): Yes. You can convert HTML to a signed, installable APK for free — for example with the free HTML & ZIP to APK Builder, which produces APKs with no watermark. Wh - [Can I convert an APK back to HTML?](https://www.html2apk.com/questions/can-i-convert-apk-back-to-html/): Only if the APK was built from HTML. An APK is a ZIP archive: in a WebView app the original HTML, CSS and JavaScript sit in the assets folder and can be extract - [Does an HTML APK work offline?](https://www.html2apk.com/questions/does-an-html-apk-work-offline/): Yes. An APK built from HTML works without internet as long as every file the page uses — scripts, styles, fonts, images, media — is bundled inside it. Anything - [Is an HTML APK safe?](https://www.html2apk.com/questions/is-an-html-apk-safe/): An HTML APK is as safe as its content and its permissions. The WebView runs your page in Android's sandbox like any app; a typical HTML app needs only internet - [Can I publish an HTML app on Google Play?](https://www.html2apk.com/questions/can-i-publish-an-html-app-on-google-play/): Yes. Google Play accepts apps built from HTML, as long as they meet the same rules as any app: uploaded as an Android App Bundle (AAB), targeting a recent Andro - [How big is an APK made from HTML?](https://www.html2apk.com/questions/how-big-is-an-html-apk/): An APK built from HTML is roughly the size of the app shell — a few megabytes — plus your files, compressed. A one-page tool or calculator typically ends up aro - [How does the back button work in an HTML app?](https://www.html2apk.com/questions/how-does-the-back-button-work-in-an-html-app/): In an HTML app, Android's back button (or back gesture) goes back one step in the WebView's history — the previous page or hash — and closes the app when there - [Can someone see my HTML code in an APK?](https://www.html2apk.com/questions/can-someone-see-my-html-code-in-an-apk/): Yes. An APK is a ZIP archive, and the HTML, CSS and JavaScript of a WebView app are stored in it as files. Anyone with the APK can unzip it and read them. Minif - [What can an HTML app not do on Android?](https://www.html2apk.com/questions/what-can-an-html-app-not-do/): An HTML app running in Android WebView cannot run code while closed (background sync, alarms), use Web Push or the Notification API, download files or show PDFs - [Can an HTML app use the camera and location?](https://www.html2apk.com/questions/can-an-html-app-use-the-camera-and-location/): Yes. Inside an HTML APK, navigator.mediaDevices.getUserMedia() (camera and microphone) and navigator.geolocation work when the app declares the matching Android - [Do I need to know Java or Kotlin to make an APK from HTML?](https://www.html2apk.com/questions/do-i-need-to-know-java-or-kotlin/): No. An HTML-to-APK converter supplies the Android part — the Kotlin app shell, the manifest, the icons and the signing — so you only write HTML, CSS and JavaScr - [How do I update an HTML APK after people installed it?](https://www.html2apk.com/questions/how-do-i-update-an-html-apk/): Rebuild the app with the same package name, signed with the same key, and a higher version code, then distribute the new APK (or upload a new AAB to Google Play - [Can HTML be converted to an iPhone app too?](https://www.html2apk.com/questions/can-html-be-converted-to-an-iphone-app/): Not as an APK — APKs are Android-only. For iPhone you have two routes: make your HTML a Progressive Web App that users add to the Home Screen from Safari (free, ## Reference - [Inside an APK file](https://www.html2apk.com/reference/apk-file-anatomy/): What an APK contains — AndroidManifest.xml, classes.dex, resources.arsc, res/, assets/, lib/, signatures — and exactly where your HTML lives inside it. - [APK install errors](https://www.html2apk.com/reference/apk-install-errors/): Every common APK install error — App not installed, package conflicts, package appears to be invalid, parse error, downgrade, Play Protect — cause and fix. - [WebView HTML5 support](https://www.html2apk.com/reference/webview-html5-support/): Support table for HTML5 and JavaScript APIs in an Android WebView app: storage, fetch, canvas, WebGL, camera, location, push, share, downloads, Bluetooth. - [Android versions & API levels](https://www.html2apk.com/reference/android-versions-api-levels/): Every Android version with its API level and release year, what minSdk and targetSdk mean, Google Play's target API requirement and what it means for HTML apps. ## Free tools (run in the browser) - [Phone Frame HTML Preview](https://www.html2apk.com/tools/phone-frame-preview/): Paste HTML or open a file and preview it inside an Android phone frame at real viewport sizes, portrait or landscape, light or dark. Free, runs in your browser. - [Touch Target Size Checker](https://www.html2apk.com/tools/touch-target-checker/): Paste HTML and find every link, button and input smaller than Android's 48×48px touch target guideline or the WCAG 24px minimum, rendered at phone width. - [Android Intent Link Builder](https://www.html2apk.com/tools/intent-link-builder/): Build links that open the phone dialer, SMS, email, WhatsApp, Google Maps, the Play Store or another app from your HTML app — with copy-ready tags. - [APK Install Error Decoder](https://www.html2apk.com/tools/apk-install-error-decoder/): Paste the message Android shows when an APK won't install — App not installed, package conflicts, invalid package, parse error — and get the cause and the fix. - [Dark Mode CSS Generator](https://www.html2apk.com/tools/dark-mode-css-generator/): Enter your brand colour and get a matched light and dark palette as CSS custom properties with prefers-color-scheme, contrast-checked and ready to paste. - [App Colour Contrast Checker](https://www.html2apk.com/tools/app-color-contrast-checker/): Check text and button colour contrast for your app against WCAG AA and AAA, see it on a phone-style preview, and get the nearest colour that passes. - [On-Screen Error Console](https://www.html2apk.com/tools/on-screen-error-console/): Generate a tiny script that shows JavaScript errors, failed file loads and console messages on the page — debug a release HTML APK with no DevTools. - [CSS Loading Screen Generator](https://www.html2apk.com/tools/css-loading-screen-generator/): Create a lightweight HTML/CSS loading screen for your app — spinner, dots, bar or pulsing logo — that covers start-up and fades out when the page is ready. - [Markdown to HTML Book](https://www.html2apk.com/tools/markdown-to-html-book/): Convert Markdown notes, a manual or an ebook into one self-contained index.html with a table of contents, search, dark mode and resume-reading — ready for an APK. - [Android Viewport Sizes](https://www.html2apk.com/tools/android-viewport-sizes/): Common Android phone and tablet viewport widths in CSS pixels, device pixel ratios, your own device's viewport, and copy-ready media queries for HTML apps. ## Get the apps - [HTML & ZIP to APK Builder on Google Play](https://play.google.com/store/apps/details?id=htmltoapk.zipfiletoapk.htmltoapkbuilder) - [Website to App on Google Play](https://play.google.com/store/apps/details?id=webintoapp.websitetoapp.apkgenerator.convertwebsitetoapp) - [Download page with QR codes](https://www.html2apk.com/download/) ## Optional - [Full text summaries](https://www.html2apk.com/llms-full.txt) - [About](https://www.html2apk.com/about/)