Back to all posts

Change Package Name in AndroidManifest.xml Online

May 29, 2026 · 2 min read

Rebranding an app, cloning a project, or submitting a white-label build all require changing the package name in AndroidManifest.xml. Doing it through Android Studio means refactoring across multiple files. If you only need to update the manifest itself, you can do it in your browser in under a minute.

Edit My Manifest

How to change the package name in AndroidManifest.xml

The package name in AndroidManifest.xml sits in the package attribute of the root manifest element. It identifies your app on the device and in the Play Store.

Changing it is a simple text replacement but doing it manually in a text editor risks breaking the XML structure if you are not careful.

With NodeXML:

  • Upload your AndroidManifest.xml
  • Find the package node or any node containing the old package name
  • Use Search and Replace to swap the old name for the new one
  • Preview the change before exporting
  • Download the updated manifest

Step 1: Upload your manifest.
Drag and drop your AndroidManifest.xml file into NodeXML.

Step 2: Use Search and Replace on the relevant node.
Find the node that contains your old package name, select Search and Replace, enter the old value and the new one. The Sample column shows you exactly what the result will look like.

Step 3: Download the updated file.
Click Generate and drop the file back into your project.

For a full overview of editing manifest files in the browser, see our guide on editing AndroidManifest.xml online. If you need to clean up other strings across XML nodes, see removing text from XML nodes.

Common questions:

Can I change the package name in AndroidManifest.xml without Android Studio?

Yes. The package attribute is a plain text value in the XML. You can change it using any XML editor, including a browser-based one, without opening Android Studio.

Will changing the package name in the manifest break my app?

The manifest change alone updates the app identifier. If your Java or Kotlin source files reference the old package name, those will need updating separately in your IDE.

Can I replace all occurrences of the old package name at once?

Yes. Use the Search and Replace action to find every instance of the old package name across all nodes and replace them in one step.

Does this work for other Android XML files too?

Yes. Any valid XML file works network_security_config.xml, res/xml files, or any other Android project XML.