GUIDES
Set up PWA Lock on your iPhone: the complete guide
Create a PWA Lock account, lock your first web app behind a cover and password, add it to your iPhone home screen, and know what to expect when you open it.
PWA Lock puts a lock page in front of a web app and gives that locked version its own address, which you can add to your iPhone home screen like an app. This guide walks through the whole setup, from creating an account to the first time you unlock the installed app, and explains what the lock does and does not do along the way. It takes about ten minutes.
Before you start
You need three things:
- An iPhone with Safari. The steps below use Safari because it is the browser Apple's guide to web apps describes.
- The address of the web app you want to lock, for example the notes, journal or messaging site you open every day. It must be a public website served over HTTPS. Addresses that start with http:// or point at a device on your home network are refused.
- A payment card for the checkout. Every plan starts with a 14-day free trial: the card is saved at checkout and first charged when the trial ends; cancel before then and you pay nothing.
If you are not sure what a web app or a home-screen app is, What is a PWA? explains the terms in plain language first.
Step 1: Create your account and pick a plan
Open pwalock.com in Safari and choose Start free. Enter an email address and a password of at least 12 characters, accept the terms, and create the account. No confirmation email is sent, so the address does not have to be verified; it is how you log in and how we reach you if you ever need to recover the account.
You land on the billing page next. Pick a plan: Starter (2 apps, $5 a month), Personal (6 apps, $6 a month) or Pro (15 apps, $7 a month), billed monthly or yearly. The checkout is run by Creem, our payment partner, which saves your card and starts the 14-day trial. The first charge happens when the trial ends; cancel before then and you pay nothing. Starter, Personal or Pro: which plan fits you? compares them in detail, and you can switch later.
Step 2: Add your first app
Return to the dashboard and choose Add an app. The form has a handful of fields:
| Field | What to enter |
|---|---|
| App name | What the icon will be called, up to 60 characters. It also becomes the app's address, so My Notes lives at my-notes.pwalock.com. |
| Website address | The full address of the web app, starting with https://. |
| Cover app | What the lock page looks like: a plain lock, or a working Calculator, 2048, Weather, Clock, Timer, Tic-tac-toe or Piano. |
| Lock password | A separate password of 8 to 128 characters that opens this app. It does not have to match your account password, and it should not. |
| Cover passcode | Optional. The sequence that reveals the password field on the cover, such as typing 2048= on the calculator. Each cover suggests a default. |
| Vault passcode | Optional. Set one to turn on the app's local vault, where downloads from the app are kept instead of going to your Files app. |
Choose the cover you would be comfortable having on your home screen; Cover apps: what a calculator can hide describes each one and what a cover can and cannot do. When you save, the dashboard shows the new app with its address.
Step 3: Open the app and unlock it
On the dashboard, choose Open app. PWA Lock carries your login over to the app's address with a one-time code that expires after 60 seconds, then shows the lock page.
- If you picked a cover, you see the cover app. Perform the cover passcode, for example the key sequence on the calculator, and the password field appears. A plain lock shows the field straight away.
- Enter the lock password.
- The web app loads at its locked address. Everything you do inside it, from opening pages to signing in to the site itself, passes through PWA Lock's servers to the original site and back.
The site's own login is untouched. If the app normally asks you to sign in, it still will, and it remembers you in the same way it does in Safari. If a login step misbehaves, Why a website login may fail inside a web-app wrapper explains the usual causes.
Step 4: Add it to your iPhone home screen
With the app open in Safari at its locked address, tap the Share button, then Add to Home Screen, and confirm the name. If the sheet shows an Open as Web App switch, leave it on, so the icon opens in its own window rather than as a Safari tab. Apple describes the current menu in its guide to turning a website into an app, linked in the sources below. The icon is the cover app's icon, or a lock for the plain cover, and the name is the app name you chose.
The installed app starts at the lock page, which is the point: nobody who taps the icon sees your app, only the cover. Two things to expect the first time you open it:
- iOS gives an installed web app its own storage, separate from Safari. The first launch may therefore ask you to log in to your PWA Lock account once, then show the lock page. After that, the account login lasts 7 days on that device.
- The lock password is asked every time the app has been closed, hidden or left idle. This is deliberate; see the next section.
If the Share menu does not offer Add to Home Screen, or the icon behaves unexpectedly, Add a website to your iPhone home screen: setup and fixes covers the common causes.
What to expect day to day
The lock closes on its own. When you switch to another app, lock the phone or return to the home screen, PWA Lock relocks the app within a moment. An unlock also expires after 15 minutes by default. Either way, the next tap on the icon shows the cover again and asks for the lock password. If you find this too frequent, that is a sign the app may not be one you need behind a lock.
Your account login is separate. Once every 7 days the installed app asks you to log in to pwalock.com again before the lock page appears. Choosing Log out of all apps on the dashboard ends those logins on every device at once, which is the right move if a device is lost.
The original site is still there. Locking an app through PWA Lock does not change the original website, which remains reachable at its own address for anyone who knows it and has its login. PWA Lock adds a gate at the locked address; it does not replace the site's own security. What PWA Lock protects, and what it does not draws the boundary precisely.
Downloads and the vault. If you set a vault passcode, files you download inside the app are saved into the app's local vault on this device instead of the Files app. The vault is browser storage: it is not encrypted by PWA Lock, not backed up to any server, and clearing website data deletes it. Where do iPhone web downloads go? explains what that means in practice before you rely on it.
When something does not work
| What you see | What to do |
|---|---|
| Use an HTTPS URL on port 443 when adding an app | The address must start with https:// and use the standard port. Most sites redirect http:// on their own, but the form needs the secure address, without a username, password or #fragment. |
| Use a public website outside PWA Lock | Addresses on private networks (such as 192.168.x.x or .local), bare IP addresses and pwalock.com itself cannot be locked. Only public websites with a domain name work. |
| The installed app sends you to pwalock.com to log in | Expected on first launch and every 7 days. Log in and you return to the lock page. |
| The app asks for the lock password more often than you expected | It relocks whenever it is hidden and after 15 minutes. This is the intended behavior. |
| You forgot the cover passcode | Open the locked address followed by /__lock/login?unlock=1 to show the password field directly, or create a new app with a passcode you will remember. |
| The site loads but a login or button does not work | Some sites resist being shown through another address. Why a website login may fail inside a web-app wrapper explains which ones and why. |
Anything else, write to contact@pwalock.com and include the app's address; never include a password.
Frequently asked questions
Do I need to install anything from the App Store?
No. PWA Lock runs in Safari. When you add the locked address to your home screen, iOS treats it as a web app with its own icon. Nothing is downloaded from the App Store, and you can remove it like any other home-screen icon.
Is my card charged when I sign up?
Not at signup, and not during the trial. Choosing a plan opens a checkout run by Creem, our payment partner, which saves your card. The first charge happens when the 14-day trial ends. If you cancel before then, nothing is charged.
What happens if I do not pick a plan?
Your account exists, but no app can be created or opened until a plan is active. Everything you set up stays saved. Pick a plan later and it all works again at once.
Can I lock more than one web app?
Yes. Starter includes 2 apps, Personal 6 and Pro 15. Each app has its own address, cover and lock password, so a single account can hold several separately locked apps.
Can I change the cover or the password of an app later?
Not from the dashboard yet. To change the website address, cover or passwords, create a new app with the new settings (each app needs its own name), or write to contact@pwalock.com.
Does it work on Android or on a computer?
Yes. The locked address works in any modern browser, and Android and desktop browsers can also install it as a home-screen or desktop app. This guide focuses on iPhone because the Safari steps are the ones most people ask about.
Sources
TRY IT WITH YOUR OWN APP
Put your first app behind its own front door.
Every plan starts with a 14-day free trial. Personal covers 6 apps, enough for the handful you open every day, and the setup above takes about ten minutes.
14 days free on every plan. Then Personal is $5 a month billed yearly ($60 a year), or $6 a month, for 6 locked apps. Your card is saved at checkout and first charged when the trial ends; cancel before then and you pay nothing.