# .JSON: Export Frame Tags as Frame Names?

**URL:** https://community.aseprite.org/t/json-export-frame-tags-as-frame-names/1109
**Category:** Features
**Created:** [March 11, 2018, 5:03am UTC](https://community.aseprite.org/t/json-export-frame-tags-as-frame-names/1109 "2018-03-11T05:03:00Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![snipaelite](https://community.aseprite.org/letter_avatar/snipaelite/32/5_5575768a8748004e209b776fc1b2916d.png) [@snipaelite](https://community.aseprite.org/u/snipaelite)
#### Post date: [March 11, 2018, 5:03am UTC](https://community.aseprite.org/t/json-export-frame-tags-as-frame-names/1109/1 "2018-03-11T05:03:00Z")

</div>

Hello again,

It would be nice if Aseprite allowed the option to name the “filename” exported in JSON to the animation tags instead of the Aseprite file name. Example:

**Current JSON export:**

“filename”: “[spriteSheetName] [frameNumber].ase”

**Ideal JSON export:**

“filename”: “[frameTag] [frameNumber].ase”

I am using Unreal Engine 4 for my project and the automatic flipbook(sprite animation) generation algorithm creates/extracts animations by frame name and number. So if two frame names are “run 1” an “run 2”, and another two are “walk 1” and “walk 2”, it will create two flipbooks named “run” and “walk” with those two frames each inside.

Thanks!

---

<div class="post-metadata">

### Author: ![dacap](https://community.aseprite.org/user_avatar/community.aseprite.org/dacap/32/10_2.png) [@dacap](https://community.aseprite.org/u/dacap)
#### Post date: [March 12, 2018, 7:42pm UTC](https://community.aseprite.org/t/json-export-frame-tags-as-frame-names/1109/2 "2018-03-12T19:42:13Z")

</div>

Actually I think this is possible using the [CLI](https://community.aseprite.org/t/the-command-line-interface/24) and the [–filename-format](https://www.aseprite.org/docs/cli/#filename-format) option:

```
aseprite -b file.ase --sheet sheet.png --filename-format "{tag} {tagframe}.ase" --json sheet.json
```

---

<div class="post-metadata">

### Author: ![snipaelite](https://community.aseprite.org/letter_avatar/snipaelite/32/5_5575768a8748004e209b776fc1b2916d.png) [@snipaelite](https://community.aseprite.org/u/snipaelite)
#### Post date: [March 12, 2018, 8:10pm UTC](https://community.aseprite.org/t/json-export-frame-tags-as-frame-names/1109/3 "2018-03-12T20:10:13Z")

</div>

Cool thanks, didn’t realize this was already a feature. I’ll check it out!

---

<div class="post-metadata">

### Author: ![SynthED](https://community.aseprite.org/user_avatar/community.aseprite.org/synthed/32/45_2.png) [@SynthED](https://community.aseprite.org/u/SynthED)
#### Post date: [May 15, 2022, 6:54am UTC](https://community.aseprite.org/t/json-export-frame-tags-as-frame-names/1109/4 "2022-05-15T06:54:15Z")

</div>

Hello, I have used this command like this:

 ![Captura](https://community.aseprite.org/uploads/default/original/2X/b/bfc8d789c39f03a36b0a97fd37ff896cbd8be9b2.png)

To get each cell as .png with tag name and frame number but I don’t get anything, why don’t I get anything? where are the generated files saved?

---

<div class="post-metadata">

### Author: ![Olga\_Galvanova](https://community.aseprite.org/user_avatar/community.aseprite.org/olga_galvanova/32/3294_2.png) [@Olga\_Galvanova](https://community.aseprite.org/u/Olga_Galvanova)
#### Post date: [May 15, 2022, 7:22am UTC](https://community.aseprite.org/t/json-export-frame-tags-as-frame-names/1109/5 "2022-05-15T07:22:38Z")

</div>

you didn’t call aseprite at all.  
the command must start with path to aseprite.exe.

---

<div class="post-metadata">

### Author: ![SynthED](https://community.aseprite.org/user_avatar/community.aseprite.org/synthed/32/45_2.png) [@SynthED](https://community.aseprite.org/u/SynthED)
#### Post date: [May 15, 2022, 9:01am UTC](https://community.aseprite.org/t/json-export-frame-tags-as-frame-names/1109/6 "2022-05-15T09:01:21Z")

</div>

Yes, I know, that part just doesn’t show on the screenshot.

---

<div class="post-metadata">

### Author: ![thkwznk](https://community.aseprite.org/user_avatar/community.aseprite.org/thkwznk/32/14485_2.png) [@thkwznk](https://community.aseprite.org/u/thkwznk)
#### Post date: [May 15, 2022, 10:03am UTC](https://community.aseprite.org/t/json-export-frame-tags-as-frame-names/1109/7 "2022-05-15T10:03:49Z")

</div>

@SynthED could you show the whole command and the message that you’re getting in the terminal?
