# Adjusting exported csv

**URL:** <https://community.mp3tag.de/t/adjusting-exported-csv/49978>\
**Category:** Support\
**Created:** [August 22, 2020, 2:30pm UTC](https://community.mp3tag.de/t/adjusting-exported-csv/49978 "2020-08-22T14:30:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![RaVlaNa](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ravlana/32/8011_2.png) [@RaVlaNa](https://community.mp3tag.de/u/RaVlaNa)\
**Post date:** [August 22, 2020, 2:30pm UTC](https://community.mp3tag.de/t/adjusting-exported-csv/49978/1 "2020-08-22T14:30:49Z")

</div>

Hello,  
I use MP3Tag v3.02 on Windows10.  
I love the program, however, I have one query to make it to work perfectly for me.

Is it possible to adjust how exactly the csv is exported?  
Two points:

- I would like the columns to be separated by commas instead of semicolons
- I would like a first column containing a number, increasing by 1, of which I can set the starting value.

Is there a way I can do this, especially point two, otherwise I get an error when trying to import the csv into my MySQL database.

Any help will be very much appreciated.

---

<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:** [August 22, 2020, 3:22pm UTC](https://community.mp3tag.de/t/adjusting-exported-csv/49978/2 "2020-08-22T15:22:54Z")

</div>

The export scripts are plain text files that you can edit any way you like to meet your requirements.

To add a sequential number:  
there is the pseudo-variable %\_counter% which always starts at 1.  
But with a function like  
`$add(%_counter%,19)`  
you would start at 20.  
Add this function to your export script.  
If you need more information about exports, see the help  
[https://docs.mp3tag.de/export](https://docs.mp3tag.de/export)  
and on scripting:

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

---

<div class="post-metadata">

**Author:** ![RaVlaNa](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ravlana/32/8011_2.png) [@RaVlaNa](https://community.mp3tag.de/u/RaVlaNa)\
**Post date:** [August 22, 2020, 3:26pm UTC](https://community.mp3tag.de/t/adjusting-exported-csv/49978/3 "2020-08-22T15:26:26Z")

</div>

@ohrenkino  
I'll give that a try, thank you ever so much.  
And now it works perfectly.  
The only thing I have not found is how to replace the semicolons by commas, but that is simple enough in Notepad.

Once again, thank you so much, I am TRULY grateful.

---

<div class="post-metadata">

**Author:** ![Jimmy\_Neutron](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/9de053/32.png) [@Jimmy\_Neutron](https://community.mp3tag.de/u/Jimmy_Neutron)\
**Post date:** [August 22, 2020, 4:50pm UTC](https://community.mp3tag.de/t/adjusting-exported-csv/49978/4 "2020-08-22T16:50:28Z")

</div>

> [@RaVlaNa](#):
>
> replace the semicolons by commas

Please check to see if there are any commas in the data before you convert semi-colons to commas. As you say, simple enough in Notepad, and it will help prevent errors in importing the csv.

---

<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:** [August 22, 2020, 6:02pm UTC](https://community.mp3tag.de/t/adjusting-exported-csv/49978/5 "2020-08-22T18:02:44Z")

</div>

The scripting functions allow to replace the comma on a per field basis.  
It is not necessary to use external programs.  
It may be worthwhile to consider the tab character as separator ($char(9)).  
Also, it should be possible to enclose all data fields in " to treat them as text data.

---

<div class="post-metadata">

**Author:** ![RaVlaNa](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ravlana/32/8011_2.png) [@RaVlaNa](https://community.mp3tag.de/u/RaVlaNa)\
**Post date:** [September 25, 2020, 4:55pm UTC](https://community.mp3tag.de/t/adjusting-exported-csv/49978/6 "2020-09-25T16:55:30Z")

</div>

Thank you both. 😀

---

<div class="post-metadata">

**Author:** ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)\
**Post date:** [February 9, 2026, 12:28pm UTC](https://community.mp3tag.de/t/adjusting-exported-csv/49978/7 "2026-02-09T12:28:47Z")

</div>


