# Extract the tag data of my audio file into text

**URL:** https://community.mp3tag.de/t/extract-the-tag-data-of-my-audio-file-into-text/67752
**Category:** Support
**Created:** [March 7, 2025, 6:43pm UTC](https://community.mp3tag.de/t/extract-the-tag-data-of-my-audio-file-into-text/67752 "2025-03-07T18:43:52Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Sergius](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@Sergius](https://community.mp3tag.de/u/Sergius)
#### Post date: [March 7, 2025, 6:43pm UTC](https://community.mp3tag.de/t/extract-the-tag-data-of-my-audio-file-into-text/67752/1 "2025-03-07T18:43:52Z")

</div>

Is it possible with Actions (Quick) to place all the PATH data of my audio file into a text file ?

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [March 7, 2025, 6:47pm UTC](https://community.mp3tag.de/t/extract-the-tag-data-of-my-audio-file-into-text/67752/2 "2025-03-07T18:47:16Z")

</div>

> [@Sergius](#):
>
> Actions (Quick) to place all the PATH

Yes, if you have an export script that can be addressed  
See

> **[Export – Mp3tag Documentation](https://docs.mp3tag.de/actions/export/)**
>
> Documentation on the Export action type that can be performed as Quick Action or as reusable workflow from Action Groups. Mp3tag is the universal Tag Editor.

It may be easier, though, to use Edit\>Copy as Text with the  
Format string: %\_path%  
and paste the result into a text editor

---

<div class="post-metadata">

### Author: ![Sergius](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@Sergius](https://community.mp3tag.de/u/Sergius)
#### Post date: [March 7, 2025, 7:34pm UTC](https://community.mp3tag.de/t/extract-the-tag-data-of-my-audio-file-into-text/67752/3 "2025-03-07T19:34:46Z")

</div>

Hello @ohrenkino, sorry, I was not precise in my question: with the PATH data, I wanted to see all my tags in a file

I clicked on the link you gave me

Export  
Use of Mp3tag’s Export as an action.

On the page I clicked: Export

In Mp3tag, I clicked on the keyboard CTRL+E Export

Export configuration

I chose: File: RTF.mte  
Which exported some tags to Windows Word

I did it again on the keyboard CTRL+E  
Afterwards I clicked directly on: RTF.mte  
I have the file: RTF.mte

$filename(rtf,ansi){\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fprq2\fcharset0 Tahoma;}}  
\viewkind4\uc1\pard\b\f0\fs32 Mp3tag File Overview\par  
\b0\fs20 %\_date%\par  
\par

$loop(%\_filename\_ext%)Title: \b %title%\b0\par  
Artist: \b %artist%\b0\par  
Album: \b %album%\b0\par  
Year: \b %year%\b0\par  
Track: \b %track%\b0\par  
Genre: \b %genre%\b0\par  
Comment: \b %comment%\b0\par  
\par  
$loopend()  
\par  
build on %\_date%, with \b %\_app% - the universal Tag Editor\b0 - [http://www.mp3tag.de/en/\par](http://www.mp3tag.de/en/%5Cpar)  
}

I can add the missing tags in this file and make a backup...

Is there another way to have all the information of my tags in my Word program or in a text file, without programming the RTF.mte file or the other export files?

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [March 7, 2025, 7:40pm UTC](https://community.mp3tag.de/t/extract-the-tag-data-of-my-audio-file-into-text/67752/4 "2025-03-07T19:40:54Z")

</div>

I do not think that RTF is a plain text format but as "r" indicates: a format rich text.

If ou do not know which tag fields you have in your files, see $list()

> **[Scripting Functions – Mp3tag Documentation](https://docs.mp3tag.de/scripting/#metadata-functions)**
>
> Documentation on Mp3tag's scripting functions. Mp3tag is the universal Tag Editor.

---

<div class="post-metadata">

### Author: ![Sergius](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@Sergius](https://community.mp3tag.de/u/Sergius)
#### Post date: [March 7, 2025, 8:53pm UTC](https://community.mp3tag.de/t/extract-the-tag-data-of-my-audio-file-into-text/67752/5 "2025-03-07T20:53:31Z")

</div>

$list(x,y,z)

If I take this data, how do I program it?

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [March 7, 2025, 8:55pm UTC](https://community.mp3tag.de/t/extract-the-tag-data-of-my-audio-file-into-text/67752/6 "2025-03-07T20:55:17Z")

</div>

What have you tried so far?

---

<div class="post-metadata">

### Author: ![Sergius](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@Sergius](https://community.mp3tag.de/u/Sergius)
#### Post date: [March 7, 2025, 9:21pm UTC](https://community.mp3tag.de/t/extract-the-tag-data-of-my-audio-file-into-text/67752/7 "2025-03-07T21:21:42Z")

</div>

> [@Sergius](#):
>
> $list(x,y,z)

**RTF.mte**

**List: \b $list(x,y,z)\b0\par**

Is this the correct way to write the data?

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [March 7, 2025, 9:23pm UTC](https://community.mp3tag.de/t/extract-the-tag-data-of-my-audio-file-into-text/67752/8 "2025-03-07T21:23:32Z")

</div>

> [@Sergius](#):
>
> Is this the correct way to write the data?

As soon as you execute the export you will see if the result is satisfactory, I would say.

---

<div class="post-metadata">

### Author: ![Sergius](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@Sergius](https://community.mp3tag.de/u/Sergius)
#### Post date: [March 7, 2025, 9:41pm UTC](https://community.mp3tag.de/t/extract-the-tag-data-of-my-audio-file-into-text/67752/9 "2025-03-07T21:41:42Z")

</div>

@ohrenkino, It works, all the tags are there, but there are "y" instead of ":"  
I guess these normal...

Here is a sample:

Datey2023/01/01zxEnd Datey2023/12/01zxStart Windowy01:00zxEnd Timey02:00zxStart Timey03:00zxEnd Windowy04:00zx

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [March 7, 2025, 9:46pm UTC](https://community.mp3tag.de/t/extract-the-tag-data-of-my-audio-file-into-text/67752/10 "2025-03-07T21:46:24Z")

</div>

> [@Sergius](#):
>
> but there are "y" instead of ":"

What if you replace the "y" with ":" in the function call?

---

<div class="post-metadata">

### Author: ![Sergius](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@Sergius](https://community.mp3tag.de/u/Sergius)
#### Post date: [March 7, 2025, 10:18pm UTC](https://community.mp3tag.de/t/extract-the-tag-data-of-my-audio-file-into-text/67752/11 "2025-03-07T22:18:47Z")

</div>

It would be great, if you could write me the data texts, to replace "y" with ":"  
Can you remove the zx  
and place each TAGS name in normal characters on different lines  
and the TAGS data in bold characters, like the program does for the few TAGS that are programmed...

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [March 7, 2025, 10:25pm UTC](https://community.mp3tag.de/t/extract-the-tag-data-of-my-audio-file-into-text/67752/12 "2025-03-07T22:25:03Z")

</div>

I give you an example - the character formatting would be up to you:  
`$list(,: ,$char(13)$char(10))`

---

<div class="post-metadata">

### Author: ![Sergius](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@Sergius](https://community.mp3tag.de/u/Sergius)
#### Post date: [March 8, 2025, 2:50am UTC](https://community.mp3tag.de/t/extract-the-tag-data-of-my-audio-file-into-text/67752/13 "2025-03-08T02:50:23Z")

</div>

Thanks @ohrenkino the "y" have been replaced by ":"  
the letters zx, are no longer visible

I don't have the names of the tags on each line yet

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [March 8, 2025, 6:31am UTC](https://community.mp3tag.de/t/extract-the-tag-data-of-my-audio-file-into-text/67752/14 "2025-03-08T06:31:04Z")

</div>

> [@Sergius](#):
>
> I don't have the names of the tags on each line yet

I don't know what you mean.  
THe output for a sample file in my collection looks like this:

```auto
ALBUM: To The Moon <ost> Flac
 ARTIST: Kan Gao
 BPM: 95
 COMMENT: Ohrenkino
 COMPOSER: Kan R. Gao
 DISCNUMBER: 1
 GENRE: Klassik
 LANGUAGE: Eng
 ORIGYEAR: 2011
 POPULARIMETER: Personal|128
 UNSYNCEDLYRICS: Instrumental
 added_timestamp: 132542286655066433
 first_played_timestamp: 132544850084364571
 last_played_timestamp: 132544850084364571
 play_count: 1
 ALBUMARTIST: Soundtrack
 YEAR: 2011
 TRACK: 28/33

```

---

<div class="post-metadata">

### Author: ![Sergius](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@Sergius](https://community.mp3tag.de/u/Sergius)
#### Post date: [March 8, 2025, 6:59am UTC](https://community.mp3tag.de/t/extract-the-tag-data-of-my-audio-file-into-text/67752/15 "2025-03-08T06:59:45Z")

</div>

Yes, I would like to have the data like you @ohrenkino

I have the data like this:

Start: 1000Hook End: 17200Start Date: 2023/01/01End Date: 2023/12/01Start Window: 01:00End Time: 02:00Start Time: 03:00End Window: 04:00

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [March 8, 2025, 7:07am UTC](https://community.mp3tag.de/t/extract-the-tag-data-of-my-audio-file-into-text/67752/16 "2025-03-08T07:07:24Z")

</div>

> [@Sergius](#):
>
> Yes, I would like to have the data like you

My output was generated by

> [@ohrenkino](#):
>
> $list(,: ,$char(13)$char(10))

So what does your function call look like?

---

<div class="post-metadata">

### Author: ![Sergius](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@Sergius](https://community.mp3tag.de/u/Sergius)
#### Post date: [March 8, 2025, 7:18am UTC](https://community.mp3tag.de/t/extract-the-tag-data-of-my-audio-file-into-text/67752/17 "2025-03-08T07:18:49Z")

</div>

> [@ohrenkino](#):
>
> $list(,: ,$char(13)$char(10))

It's still the same:

Start: 1000Hook End: 17200Start Date: 2023/01/01End Date: 2023/12/01Start Window: 01:00End Time: 02:00Start Time: 03:00End Window: 04:00

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [March 8, 2025, 7:20am UTC](https://community.mp3tag.de/t/extract-the-tag-data-of-my-audio-file-into-text/67752/18 "2025-03-08T07:20:55Z")

</div>

Please show a screenshot of the applied function.

---

<div class="post-metadata">

### Author: ![Sergius](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@Sergius](https://community.mp3tag.de/u/Sergius)
#### Post date: [March 8, 2025, 7:47am UTC](https://community.mp3tag.de/t/extract-the-tag-data-of-my-audio-file-into-text/67752/19 "2025-03-08T07:47:05Z")

</div>

@ohrenkino, I'll do better than that, I'll send you directly, the small demo audio file...

It'll be easier for you, to do tests  
[- S0004-(OK-01) I've been everywhere-Album American II Unchained (1996) - Copie.mp3.txt](https://community.mp3tag.de/uploads/short-url/vdbRLTjkHJbyyPsk0DTJfUQS503.txt) (806.1 KB)

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [March 8, 2025, 7:50am UTC](https://community.mp3tag.de/t/extract-the-tag-data-of-my-audio-file-into-text/67752/20 "2025-03-08T07:50:21Z")

</div>

I don't know what I am supposed to test.  
The output with my suggested $list()

 ![grafik](https://community.mp3tag.de/uploads/default/original/3X/2/f/2f03a322d1bbb5d3c2eecac452b749f363ee898a.png)

leads to:

```auto
 ALBUM: Album American II Unchained (1996)
 ARTIST: Johnny Cash1
 COMMENT: Label: American Recordings, LLC (101)

https://music.apple.com/us/album/american-ii-unchained/1440932175

https://www.pandora.com/artist/credits/johnny-cash/american-2-unchained/ive-been-everywhere-album-version/TRphv3t5cVtwJw6
 COMPOSER: Composer Lyricist: Geoff Mack
 COPYRIGHT: Copyright: (P) © 1996 American Recordings, LLC
 GENRE: Country
 PUBLISHER: ### Release: November 5, 1996 ###
 TITLE: I've been everywhere. (Radio Music Sample) 1234
 TRACK: 14/14
 YEAR: 1996
 TrackNum: 14/14
 Category: PUB
 No fade: -1
 Intro: 1100
 Sec Tone: 1100
 Hook Start: 1000
 Hook End: 17200
 Start Date: 2023/01/01
 End Date: 2023/12/01
 Start Window: 01:00
 End Time: 02:00
 Start Time: 03:00
 End Window: 04:00
 OutCue: Album: American II Unchained
 Agency: Simian Agency
 Account Exec: Simian Account Executive / Sales Person
 Copy: https://www.pandora.com/artist/credits/johnny-cash/american-2-unchained/ive-been-everywhere-album-version/TRphv3t5cVtwJw6
 URL: Album: American II Unchained (1996)
 Producer: Producer: Rick Rubin, David Ferguson
 Talent: Additional Producer: David Ferguson 

Talent: Johnny Cash
 Key: D-Flat
 End: Long Fade
 Energy: 7
 Texture: Active
 Tempo: Medium
 BPM: 101

```

[Next page](https://community.mp3tag.de/t/extract-the-tag-data-of-my-audio-file-into-text/67752.md?page=2)
