# How to list unused string table keys?

**URL:** <https://forums.unrealengine.com/t/how-to-list-unused-string-table-keys/1107542>\
**Category:** Programming & Scripting\
**Tags:** reference, String-Tables, unreal-engine, search, question\
**Created:** [April 18, 2023, 9:49am UTC](https://forums.unrealengine.com/t/how-to-list-unused-string-table-keys/1107542 "2023-04-18T09:49:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![CabbageOni](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CabbageOni](https://forums.unrealengine.com/u/CabbageOni)\
**Post date:** [April 18, 2023, 9:49am UTC](https://forums.unrealengine.com/t/how-to-list-unused-string-table-keys/1107542/1 "2023-04-18T09:49:05Z")

</div>

I have a project with 5k+ string table keys.  
I can search each line via ‘Asset Search’, but this will take tremendous time and effort.  
Is there a proper way to automate this process?

> [@Determine which string table entries are in use](https://forums.unrealengine.com/t/determine-which-string-table-entries-are-in-use/424735/8):
>
> I made a solution Unreal 4.27.2. Keep in mind if u run this will cause unreal to hitch as it needs to load the assets to check FTexts. There are quite a few methods needed here. Main one is GatherLocalizationInfoOnObjectType - which will give u a nice log of all the texts, and will check if there is a matching text in a libaraby that is simple not connected. Besides that I just made a small untest func GatherAllUnusedTextsFromLocalTables which will give u LibaryStringTexts that are not referen…

Did try [SoSeductive69\_Tv](https://forums.unrealengine.com/u/SoSeductive69_Tv)’s method, but this only searched single layered properties (couldn’t find textproperty inside array for instance), which wasn’t quite effective.  
Also did not search for strings in various assets; widgets, datatables, structs and more.

---

<div class="post-metadata">

**Author:** ![UnrealHorrorDev](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UnrealHorrorDev](https://forums.unrealengine.com/u/UnrealHorrorDev)\
**Post date:** [May 3, 2023, 10:15am UTC](https://forums.unrealengine.com/t/how-to-list-unused-string-table-keys/1107542/2 "2023-05-03T10:15:08Z")

</div>

Ah good suggestions, my case was simpler so didnt bother with these checks. Its possible to get UProperty structs and check all texts in them, as well as texts in arrays. And its possible to also get all child components and check them. As to datatables, might be bit of work. I can update to include the stuff over weekend 😃
