# How to Find the Bundle ID of an App on Mac

Updated: November 24, 2026

- [Supercharge](https://sindresorhus.com/supercharge.md): Elevate your Mac experience. Price: $20, one-time purchase, plus tax where applicable. Platforms: macOS. Get it from: [Gumroad](https://sindresorhus.gumroad.com/l/supercharge?wanted=true), [Setapp](https://go.setapp.com/stp181?refAppID=742&utm_medium=vendor_program&utm_content=button). Free trial: [download](https://sindresorhus.com/supercharge#trial). Requires macOS 27 or later. Size: 10 MB. Free older versions for macOS 26 and 15: [download](https://sindresorhus.com/supercharge#older-versions). Gumroad rating: 5.0/5 (288 ratings).

URL: https://sindresorhus.com/guides/find-app-bundle-id-mac

In Terminal, type `osascript -e 'id of app "Safari"'` with the name of the app. Or right-click the app in Finder: [Supercharge](https://sindresorhus.com/supercharge.md) shows “Bundle ID: com.apple.Safari” in the menu, and a click copies it.

The bundle identifier is the unique name of an app. Commands like `tccutil` and `defaults`, and device management profiles, use it to find the app.

## With Supercharge

1. Open the settings of [Supercharge](https://sindresorhus.com/supercharge.md), click “Tweaks”, and click “Configure…” next to “Context menu items”.
1. In the “Main Menu” tab, turn on “App: Bundle Identifier”. To also see the version of the app, turn on “App: Version”.
1. Right-click an app in Finder, like in the Applications folder. The menu shows “Bundle ID:” and the identifier.
1. Click the item to copy the identifier.

The item shows only when you select one app.

## Without an app

macOS has two commands for it in Terminal. Use the name of the app, or its path:

```console
$ osascript -e 'id of app "Safari"'
com.apple.Safari
$ mdls -name kMDItemCFBundleIdentifier -r /Applications/Safari.app
com.apple.Safari
```

Without Terminal, right-click the app in Finder, choose “Show Package Contents”, open the “Contents” folder, select “Info.plist”, and press Space. The identifier is on the line below “CFBundleIdentifier”.

Terminal is fine when you need the identifier once. Supercharge shows it every time you right-click an app.
