# Sharing Python script to export stripped down T3D files

**URL:** <https://forums.unrealengine.com/t/sharing-python-script-to-export-stripped-down-t3d-files/2765163>\
**Category:** C++\
**Tags:** Python, ue4-editor, Editor-Scripting, unreal-engine, UE5\
**Created:** [September 13, 2026, 5:50am UTC](https://forums.unrealengine.com/t/sharing-python-script-to-export-stripped-down-t3d-files/2765163 "2026-09-13T05:50:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DiliupG](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/diliupg/32/1071099_2.png) [@DiliupG](https://forums.unrealengine.com/u/DiliupG)\
**Post date:** [September 13, 2026, 5:50am UTC](https://forums.unrealengine.com/t/sharing-python-script-to-export-stripped-down-t3d-files/2765163/1 "2026-09-13T05:50:31Z")

</div>

[Export ONLY the currently selected asset(s) to T3D (SLIM, with dialogs) - Pastebin.com](https://pastebin.com/1E5XjeED)

I have run out of tokens fast because the UE4 blueprint scripts that I share with Claude are too bulky. The T3D files exported by UE has a lot of things that can be removed. This script does that buy reducing the file size by almost 50%. Hope it is useful to you. To me it is a lifesaver.

For some reason I couldn’t paste in the script that converts the entire blueprints set inside the hierarchy with one click. I will try to upload it later.
