5 Ways to Find App Package Name on Android (2024)

App package name or APK (Android Application Package) is a unique identifier assigned to every Android app. This package name acts as an application ID that distinguishes it from other apps installed on the device or hosted at the Google Play Store. You can find the app package name of an Android app in the Play Store URL, using a package name viewer app, and via ADB commands. I have discussed these 5 methods in this tutorial.

When developers create apps, they assign a package name to them. This package name serves as the foundation of the app’s identity and is used by the operating system to manage and run the app. It also allows us to identify and differentiate apps on our devices. Whether you want to sideload apps, pull or push APK, or uninstall or freeze apps using ADB, having package names is mandatory.

The format of a package name follows a specific convention which includes the following three elements:

  1. It usually begins with a top-level domain (usually ‘com’, ‘org’, ‘in’, ‘app’, etc.). However, a domain is not mandatory for app package names.
  2. The domain is followed by the company or developer’s name.
  3. The package name concludes with the app’s name itself.

Now take a look at the app package names of some of the most popular Android apps for a better understanding:

  • com.facebook.katana
  • org.telegram.messenger
  • com.android.chrome
  • com.google.maps

Below, we will discuss the various methods to find an Android app’s package name.

1. Via the App URL in the Google Play Store

The Google Play Store is a one-stop shop for all Android apps. It is also the most convenient and reliable method to find the package name of an app. Follow the steps below to easily locate the package name of any app on your Android device using the Google Play Store:

  1. Open the Google Play Store on your Android device.
  2. Tap on the search bar, and type the name of the app whose package name you want to find. Type in the name of the app or use related keywords.
  3. Click the app in the list of results that appear. This will take you to its official page in the Google Play Store.
  4. On this page, tap the 3-dot icon at the top right corner of the screen and select the Share option.
  5. Now, you can share this app’s URL via Share Menu. Alternatively, you can tap the Copy option to save it to the clipboard. The app URL contains the app package name after “id=“.
    https://play.google.com/store/apps/details?id=com.google.android.gm

If you use a computer, open the Google Play Store in your web browser. Search for the app whose package name you want to know. You’ll find the app package in the app URL itself as shown below.

2. Using a Third-Party App

If you are an app developer who needs package names too frequently, the Google Play Store method may not suffice. In such a case, using a third-party app is a quick and easy way to find the package name of any app installed on your device.

  1. Download and install App Manageror Package Name Viewer from the Play Store.
  2. When the app is installed, open it from the app drawer.
  3. The app will show you a list of all apps with their package names.
  4. Tap the desired app to find its package name. Select the Copy option to copy the name.

3. Using ADB Command via aShell

The Google Play Store has several terminal apps that allow you to use ADB commands. Until 2022, terminal apps required root permission to function. However, with the advent of Shizuku, things have become easier. You can also execute ADB commands on Android deviceswithout root.

Let’s check out how to find the package names using a Shizuku-supported app called aShell.

  1. Set up Shizuku on your Android phone.
  2. Download and install the aShell terminal app from F-Droid (free) or Google Play Store (paid).
  3. Make sure Shizuku is running in the background and launch aShell. Select Allow all the time option when prompted to Allow aShell access to Shizuku.
  4. Type the following command in the aShell Command Box and tap the Enter key on your phone’s keyboard.
    pm list packages | grep '<app-name>'Example: pm list packages | grep 'telegram'
  5. You’ll have the app’s package name on your phone’s screen.

That’s it! You can also use other ADB commands listed in the next section.

Related posts

5 Ways to Restore Deleted Contacts on Android

4. Via ADB Commands

Another way to find the app package name on your Android device using ADB. This method involves using your computer and a USB cable to connect to your device.

The ADB method may require technical knowledge but can be useful if other methods don’t work.

  1. Launch a PowerShell or Terminal window with the path of the ‘platform-tools’ folder.
  2. Make sure to increase the display timeout of your phone to 5 or 10 minutes. ADB can’t detect your device if its screen is locked.
  3. Connect your Android device to your computer using a USB cable or ADB over Wi-Fi.
  4. Now execute the adb devices command in Windows PowerShell or the macOS Terminal window.
  5. You’ll see an alphanumeric value representing your device under the list of attached devices.
  6. Open the app whose name you need to find. Now type the following command and press the Enter key to execute it.
    adb shell
  7. When the ADB Shell is invoked, paste the following command into the command window after the $ sign.
    dumpsys window | grep -E 'mCurrentFocus'
  8. As soon as you hit Enter, ADB will get the app package name of the app that is currently open on your Android phone. In my case, I opened Telegram on my device.

There’s another nifty ADB command to get the package names by keyword. For example, you can use the following command to find Telegram’s package name.

adb shell pm list packages | grep 'telegram'

Get the List of App Package Names using ADB

In case you want to find the list of package names of all Android apps installed on your device, you can use the adb shell pm list packages. There are various filters you can add to this command to get more specific results.

Get Package Names by Group

For instance, you can get the list of all Google apps package names using the ‘grep’ parameter with a keyword (‘google’, for example) filter.

adb shell pm list packages | grep 'google'

You can replace ‘google’ with ‘android’, ‘samsung’, ‘mi, ‘xiaomi’, ‘coloros’, ‘oneplus’, etc. to list all app packages with the provided keyword.

List All System App Packages

The following command will give you the list of all system apps installed on your Android device.

adb shell pm list packages -s

List All 3rd-Party App Packages

If you want ADB to filter all third-party apps on your phone and list their package names, you can execute the following command.

adb shell pm list packages -3

Get the List of All Apps with Their Package Names

By using -f as a filter, you can get the list of all installed apps along with the associated package names.

5. Using ADB AppControl and UAD GUI

In most cases, we want the package names of apps we want to uninstall or disable on our Android phone. Debloater tools like ADB AppControl and Universal Aandroid Debloater not only show the package names but also let you uninstall them with a single click.

Download ADB AppControl or Universal Android Debloater on your computer. Connect your Android device with USB debugging enabled to your computer via a USB cable. The tool will show all system and 3rd-party apps installed on your device with their package names. ADB AppControl even allows you to copy package names. Hover the mouse pointer on an app, right-click on it, and select Copy package name from the context menu.

Was this Article helpful?

YesNo

5 Ways to Find App Package Name on Android (2024)

References

Top Articles
Latest Posts
Recommended Articles
Article information

Author: The Hon. Margery Christiansen

Last Updated:

Views: 5658

Rating: 5 / 5 (70 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: The Hon. Margery Christiansen

Birthday: 2000-07-07

Address: 5050 Breitenberg Knoll, New Robert, MI 45409

Phone: +2556892639372

Job: Investor Mining Engineer

Hobby: Sketching, Cosplaying, Glassblowing, Genealogy, Crocheting, Archery, Skateboarding

Introduction: My name is The Hon. Margery Christiansen, I am a bright, adorable, precious, inexpensive, gorgeous, comfortable, happy person who loves writing and wants to share my knowledge and understanding with you.