Free tool

Offline page generator for your website app

A URL-based app needs a connection, and Android's default error screen is grey text that says the webpage is not available. Replace it with a page in your colours that explains and retries — one file, generated here, no dependencies.

Design the offline screen

The output is a single HTML file with the styles inline — it works with no network, which is the point.

Background

What a visitor sees when the connection drops

A website converted to an app from its URL loads pages from your server, the same as a browser. Lose the connection — a lift, a tunnel, a flaky café network — and the WebView shows Android's built-in error: a grey page, a broken-page glyph, "Webpage not available", and a raw error code. It is the least app-like moment a converted site can have, and it is the one your visitor is most likely to screenshot.

The fix is a page of your own that the app shows instead. The builder already does the swap — it intercepts the network error and loads a bundled fallback — and this tool writes the fallback in your colours, with your words, and a button that actually retries.

Why the file has no dependencies

An offline page that loads a font from Google, an icon from a CDN or a stylesheet from your own server is a page that fails at exactly the moment it is needed. The generated file has every style inline, an inline SVG for the icon, and uses the system font. It is around two kilobytes, it renders with the network cable pulled out, and it has nothing to cache.

The retry button, and retrying automatically

The button calls location.reload(). Inside the app that re-requests the page the visitor was trying to reach — the fallback is shown at the original URL, not instead of it — so a successful retry lands where they were going. The optional listener on the browser's online event does the same thing without a tap the moment the phone reports a connection, which on most Android versions is reliable enough to be worth turning on.

Writing the message

Going further: content that works offline

A fallback page is the minimum. If parts of your site should genuinely work without a connection — a menu, a schedule, a set of instructions — the answer is to bundle them into the app rather than fetch them. The builder's HTML and ZIP inputs do exactly that: the pages ship inside the APK and load from the device, so they work in airplane mode with no fallback needed. The complete guide covers when to choose each route.

Frequently asked questions

How does the app know to show this page?

The builder's runtime listens for the WebView's network error and loads its bundled offline page in place of Android's default. Upload the file generated here at the page-loader step, or use the default one.

Will the retry button reload the page I was on?

Yes. The fallback is displayed at the URL that failed, so location.reload() requests that page again. A successful retry lands the visitor where they were going.

Can I add my logo?

Keep it inline. Paste an SVG in place of the icon in the generated HTML, or a small base64 PNG. Anything loaded from a URL will not appear, because the page is only ever shown without a connection.

Does this make my site work offline?

No — it replaces the error screen. For pages that should genuinely work offline, bundle them into the app with the builder's HTML or ZIP input, or add a service worker to the website.

Is anything I type here sent anywhere?

No. The page is assembled in your browser and previewed in an iframe on this page. Downloading it is a local file save.

Read next

Related tools

Turn your website into an app today

Paste your URL, pick a name and an icon, and download a signed Android app in minutes. Free to start — no code, no Android Studio, no card.

Convert my website — free