# Batch rename UE4 assets

**URL:** <https://forums.unrealengine.com/t/batch-rename-ue4-assets/446212>\
**Category:** Community & Industry Discussion\
**Tags:** rename, unreal-engine, file, UE4, question\
**Created:** [March 29, 2019, 5:09am UTC](https://forums.unrealengine.com/t/batch-rename-ue4-assets/446212 "2019-03-29T05:09:37Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_c5be7251](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c5be7251](https://forums.unrealengine.com/u/anonymous_user_c5be7251)\
**Post date:** [March 29, 2019, 5:09am UTC](https://forums.unrealengine.com/t/batch-rename-ue4-assets/446212/1 "2019-03-29T05:09:37Z")

</div>

I would like to rename a lot of data on UE4 at one go. Is there any way to do it?

---

<div class="post-metadata">

**Author:** ![duderseb](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/duderseb/32/558202_2.png) [@duderseb](https://forums.unrealengine.com/u/duderseb)\
**Post date:** [March 29, 2019, 5:16pm UTC](https://forums.unrealengine.com/t/batch-rename-ue4-assets/446212/2 "2019-03-29T17:16:24Z")

</div>

There’s a plugin called MORT (Multiple Object Rename Tool) that’s indispensable for this.

---

<div class="post-metadata">

**Author:** ![Chyros](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chyros](https://forums.unrealengine.com/u/Chyros)\
**Post date:** [March 30, 2019, 12:38pm UTC](https://forums.unrealengine.com/t/batch-rename-ue4-assets/446212/3 "2019-03-30T12:38:53Z")

</div>

The UE4’s [Scripting the Editor using Python](https://docs.unrealengine.com/en-us/Editor/ScriptingAndAutomation/Python) is the Unreal-way of batch renaming UE4 assets as it also rename the references properly.

After activating Python plugin, you can modify the following script:

Below is the script I used to rename all my animation assets under **/Game/DynamicSwordAnimset/** with the ff. search/replace texts:

1. **eqip** to **equip** (case-sensitive)

2. **Eqip** to **Equip** (case-sensitive)

Save the script anywhere (though preferrably store it in your **/Game/Content/Python** ). Then bring up your console command in UE4 editor and type **py {your-python-script-location}**

You’ll get the output similar below:

```
    LogPython: Renaming /Game/DynamicSwordAnimset/BlendSpaces/Idle_Eqip_BS.Idle_Eqip_BS into /Game/DynamicSwordAnimset/BlendSpaces/Idle_Equip_BS.Idle_Equip_BS
    /Game/DynamicSwordAnimset/BlendSpaces/Idle_Equip_BS
    LogSavePackage: Moving '../../../../../../../UE4_Projects/YourUE4Proj/Saved/Idle_Equip_BS8DFFE8D14C05571D78469CB80BC2E6C1.tmp' to '../../../../../../../UE4_Projects/YourUE4Proj/Content/DynamicSwordAnimset/BlendSpaces/Idle_Equip_BS.uasset'
    LogUObjectHash: Compacting FUObjectHashTables data took 0.55ms
    LogUObjectHash: Compacting FUObjectHashTables data took 1.25ms
    LogUObjectHash: Compacting FUObjectHashTables data took 0.51ms
    LogPython: Renaming /Game/DynamicSwordAnimset/BlendSpaces/Walk_Eqip_BS.Walk_Eqip_BS into /Game/DynamicSwordAnimset/BlendSpaces/Walk_Equip_BS.Walk_Equip_BS
    /Game/DynamicSwordAnimset/BlendSpaces/Walk_Equip_BS
    LogSavePackage: Moving '../../../../../../../UE4_Projects/YourUE4Proj/Saved/Walk_Equip_BS3A1CB7584D3BACEC9B189ABEA2A93660.tmp' to '../../../../../../../UE4_Projects/YourUE4Proj/Content/DynamicSwordAnimset/BlendSpaces/Walk_Equip_BS.uasset'
    LogUObjectHash: Compacting FUObjectHashTables data took 0.50ms
    LogUObjectHash: Compacting FUObjectHashTables data took 1.17ms
    LogUObjectHash: Compacting FUObjectHashTables data took 0.76ms
    LogPython: Done!

```

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c5be7251](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c5be7251](https://forums.unrealengine.com/u/anonymous_user_c5be7251)\
**Post date:** [April 1, 2019, 5:03am UTC](https://forums.unrealengine.com/t/batch-rename-ue4-assets/446212/4 "2019-04-01T05:03:54Z")

</div>

Thank you very much  
informative

---

<div class="post-metadata">

**Author:** ![Rainbowdash](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rainbowdash](https://forums.unrealengine.com/u/Rainbowdash)\
**Post date:** [April 29, 2019, 9:39pm UTC](https://forums.unrealengine.com/t/batch-rename-ue4-assets/446212/5 "2019-04-29T21:39:55Z")

</div>

with ue4 4.22 u can create your own Editor widget.

Example Blueprint:

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/0/3/303dc29c022dfd6d723781b139859405560b08d6.png)

---

<div class="post-metadata">

**Author:** ![F1nik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@F1nik](https://forums.unrealengine.com/u/F1nik)\
**Post date:** [March 23, 2022, 7:53am UTC](https://forums.unrealengine.com/t/batch-rename-ue4-assets/446212/6 "2022-03-23T07:53:58Z")

</div>

Yep, thanks!

Multi-Objects Renaming tool (MORT) is a simple editor improvement that adds one often used function to automate editing of tons actors\objects names (except folders) in the World Outliner and Content Browser.

> **[Multi Objects Renaming Tool in Code Plugins - UE Marketplace](https://www.unrealengine.com/marketplace/en-US/product/multi-objects-renaming-tool)**
>
> Multi-Objects Renaming tool (MORT) is a simple editor improvement that adds one often used function to automate editing of tons actors\\objects names (except folders) in the World Outliner and Content Browser.

---

<div class="post-metadata">

**Author:** ![DevSmash](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/devsmash/32/593196_2.png) [@DevSmash](https://forums.unrealengine.com/u/DevSmash)\
**Post date:** [December 6, 2022, 6:03pm UTC](https://forums.unrealengine.com/t/batch-rename-ue4-assets/446212/7 "2022-12-06T18:03:01Z")

</div>

Waiting for boxing day. 🙂
