Assets & configuration

Choosing a package name for your website app

The one setting you cannot change after publishing. What the package name is for, the syntax rules that fail a build, why it is your domain reversed, and how to pick one you will still be happy with in five years.

6 min read Updated September 2026

The package name — the applicationId in Android terms — is a short dotted string like com.yourshop.app that identifies your app to Android and to Google Play. Every app on a phone has a unique one; two apps with the same package name are, to the system, the same app. It is set once, before the first build, and after the app is published it can never change. For a website app the natural choice is your domain, reversed, with a word added — and that is what the builder suggests.

What it is used for

Change it and you have a different app: a new listing with zero installs, and existing users see a second icon rather than an update.

The syntax rules

The generator applies every rule and shows what it changed and why:

Package Name GeneratorBuild and validate a valid applicationId Open the tool
The package name generator turning example.com and My Shop into com.example.myshop
Reverse the domain, add the app name, and see the validated result before you build.

Why reverse-domain naming

The convention exists to guarantee uniqueness without a registry. You own yourshop.com; nobody else can honestly start a package name with com.yourshop. It also tells anyone reading the name who published it. You do not need to own the domain for the build to succeed, but if you do not, pick something distinctive enough that nobody else will plausibly use it — com.myapp.app is asking for a collision.

What happens when it is wrong

MistakeResult
Uppercase lettersBuilds, but Play flags it and some tools break
Hyphen or spaceBuild fails before compiling
Segment starting with a digit (com.3dshop)Build fails
Java keyword (com.new.app)Build fails with a confusing compiler error
com.example.anythingBuilds, installs, rejected by Play at upload
Same name as a published app you do not ownPlay refuses the upload
The package name generator flagging a name with a hyphen and a segment starting with a digit
The two errors that fail most first builds, caught in the browser.

Choosing one you will still like

Use the domain the site will have, not the one it has today, if a move is planned. Use the brand, not the product — com.yourshop.app outlives com.yourshop.summersale. Keep it short; three segments is plenty. And write it down somewhere you keep the signing key, because the two together are what let you update the app for as long as it exists.

Questions people ask

Can I change the package name after publishing?

No. Changing it creates a different app on Google Play with a new listing and no installs. Choose it carefully before the first build.

Do I have to own the domain I use?

Not for the build or for Play. The convention exists to guarantee uniqueness, so if you do not own a domain, choose something distinctive rather than generic.

What package name should a website app use?

Your site's domain reversed plus a word: yourshop.com becomes com.yourshop.app. Lowercase, no hyphens, at least two segments.

Why does my build fail with com.new.app?

new is a Java keyword and cannot be a package segment. The same applies to int, class, public and the other reserved words. Add a letter or choose another word.

Read next

Ready to make your website into an app?

Paste a URL, or upload an HTML file or a ZIP, set your icon and name, and download a signed Android app from the free APK creator. No Android Studio, no command line.

Make my app — free