# Import / Export

**URL:** <https://forums.ankiweb.net/t/import-export/19376>\
**Category:** Help\
**Created:** [April 24, 2022, 1:52pm UTC](https://forums.ankiweb.net/t/import-export/19376 "2022-04-24T13:52:58Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![vayedaber](https://avatars.discourse-cdn.com/v4/letter/v/6bbea6/32.png) [@vayedaber](https://forums.ankiweb.net/u/vayedaber)\
**Post date:** [April 24, 2022, 1:52pm UTC](https://forums.ankiweb.net/t/import-export/19376/1 "2022-04-24T13:52:58Z")

</div>

Can data (e.g. a list of words) be imported into Anki from a structured file (e.g. .csv) or word or text file?  
Can data be exported from Anki to another format such as those in the previous question?

---

<div class="post-metadata">

**Author:** ![cqg](https://avatars.discourse-cdn.com/v4/letter/c/e95f7d/32.png) [@cqg](https://forums.ankiweb.net/u/cqg)\
**Post date:** [April 24, 2022, 2:02pm UTC](https://forums.ankiweb.net/t/import-export/19376/2 "2022-04-24T14:02:42Z")

</div>

[https://docs.ankiweb.net/importing.html](https://docs.ankiweb.net/importing.html)

---

<div class="post-metadata">

**Author:** ![vayedaber](https://avatars.discourse-cdn.com/v4/letter/v/6bbea6/32.png) [@vayedaber](https://forums.ankiweb.net/u/vayedaber)\
**Post date:** [May 1, 2022, 3:40pm UTC](https://forums.ankiweb.net/t/import-export/19376/3 "2022-05-01T15:40:05Z")

</div>

Thank you. It is not working for me yet. I downloaded the file in UTF-8 format and used the File Import commands… When Anki said that it needs to have a .akpg or .colpkg suffix, I changed the file name to that format. However, it then says the file is corrupt, and root cause: archive is not a ZIP archive. Please advise.

---

<div class="post-metadata">

**Author:** ![Rumo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/rumo/32/1505_2.png) [@Rumo](https://forums.ankiweb.net/u/Rumo)\
**Post date:** [May 1, 2022, 8:00pm UTC](https://forums.ankiweb.net/t/import-export/19376/4 "2022-05-01T20:00:03Z")

</div>

Apkg and colpkg are not what you want here, and you shouldn’t change the file extension anyway.  
Maybe you did not select the correct file type in the import dialog?

 ![grafik](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/9/9bbdae0812d12c0ec6d16525982b19523f2ccc80.png)

---

<div class="post-metadata">

**Author:** ![dudrea](https://avatars.discourse-cdn.com/v4/letter/d/73ab20/32.png) [@dudrea](https://forums.ankiweb.net/u/dudrea)\
**Post date:** [May 2, 2022, 7:03am UTC](https://forums.ankiweb.net/t/import-export/19376/5 "2022-05-02T07:03:16Z")

</div>

Hi,  
Don’t use apkg type for importing your CSV file. Just use csv type (text file separated by 😉  
I do that every day with csv file, UTF8, fields separated by “;” and field text by \<"\> and it’s working…

---

<div class="post-metadata">

**Author:** ![vayedaber](https://avatars.discourse-cdn.com/v4/letter/v/6bbea6/32.png) [@vayedaber](https://forums.ankiweb.net/u/vayedaber)\
**Post date:** [May 3, 2022, 7:31pm UTC](https://forums.ankiweb.net/t/import-export/19376/6 "2022-05-03T19:31:41Z")

</div>

How do you save a file in that format, please?

---

<div class="post-metadata">

**Author:** ![Dolphyn](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@Dolphyn](https://forums.ankiweb.net/u/Dolphyn)\
**Post date:** [May 3, 2022, 7:55pm UTC](https://forums.ankiweb.net/t/import-export/19376/7 "2022-05-03T19:55:22Z")

</div>

It depends on what software you’re using.  
If you use Excel, you can save as “CSV UTF-8 (Comma delimited)” and that has worked well for me, including Vietnamese letters which don’t always come through in other formats.

---

<div class="post-metadata">

**Author:** ![dudrea](https://avatars.discourse-cdn.com/v4/letter/d/73ab20/32.png) [@dudrea](https://forums.ankiweb.net/u/dudrea)\
**Post date:** [May 3, 2022, 8:10pm UTC](https://forums.ankiweb.net/t/import-export/19376/8 "2022-05-03T20:10:02Z")

</div>

You can use excel, or (what I usually do) with open or free office.  
Save as CSV

---

<div class="post-metadata">

**Author:** ![vayedaber](https://avatars.discourse-cdn.com/v4/letter/v/6bbea6/32.png) [@vayedaber](https://forums.ankiweb.net/u/vayedaber)\
**Post date:** [May 4, 2022, 5:45am UTC](https://forums.ankiweb.net/t/import-export/19376/9 "2022-05-04T05:45:11Z")

</div>

Thank you. I am using Excel, but that did not work.

---

<div class="post-metadata">

**Author:** ![dudrea](https://avatars.discourse-cdn.com/v4/letter/d/73ab20/32.png) [@dudrea](https://forums.ankiweb.net/u/dudrea)\
**Post date:** [May 5, 2022, 8:42am UTC](https://forums.ankiweb.net/t/import-export/19376/10 "2022-05-05T08:42:31Z")

</div>

What are you using as parameter for export ?  
UTF8 of course,  
what about separators ? For fields I use semi-colon ; and for characters-chain I use the double quote "  
Of course I don’t use these characters in my data 😉  
May be you will have to choose another specific set depending of your data…

Of course using Excel is not mandatory, you also can use any text editor for that, just respect the good separators \<; and "\> in my case, and of course UTF8

---

<div class="post-metadata">

**Author:** ![ycodet](https://avatars.discourse-cdn.com/v4/letter/y/a4c791/32.png) [@ycodet](https://forums.ankiweb.net/u/ycodet)\
**Post date:** [May 5, 2022, 3:24pm UTC](https://forums.ankiweb.net/t/import-export/19376/11 "2022-05-05T15:24:27Z")

</div>

If you use ; as a field separator there shouldn’t be any semicolon in the fields themselves, as dudrea remarked. That’s why I prefer tabulators as field separators, in case I need to write a semicolon in my data.

---

<div class="post-metadata">

**Author:** ![vayedaber](https://avatars.discourse-cdn.com/v4/letter/v/6bbea6/32.png) [@vayedaber](https://forums.ankiweb.net/u/vayedaber)\
**Post date:** [May 11, 2022, 5:20pm UTC](https://forums.ankiweb.net/t/import-export/19376/12 "2022-05-11T17:20:34Z")

</div>

Thank you, again. I have tried each of these and it has not yet worked. Could you or someone in the forum be able to send me a sample text file to try to import with but a few words in Hebrew? I could then test if it is an issue with my file format or importing.  
Here is the sample content:

כלב  
חתול  
תפילותינו

Kind regards

---

<div class="post-metadata">

**Author:** ![dudrea](https://avatars.discourse-cdn.com/v4/letter/d/73ab20/32.png) [@dudrea](https://forums.ankiweb.net/u/dudrea)\
**Post date:** [May 11, 2022, 6:19pm UTC](https://forums.ankiweb.net/t/import-export/19376/13 "2022-05-11T18:19:20Z")

</div>

I don’t be sure understand what you want.

- List item

three line with one field each ? In this case csv format doesn’t matter Any format would be OK  
One line with three fields  
One field of three lines

I’ll should send you three files tests but I don’t know how…

---

<div class="post-metadata">

**Author:** ![vayedaber](https://avatars.discourse-cdn.com/v4/letter/v/6bbea6/32.png) [@vayedaber](https://forums.ankiweb.net/u/vayedaber)\
**Post date:** [May 12, 2022, 8:22am UTC](https://forums.ankiweb.net/t/import-export/19376/14 "2022-05-12T08:22:40Z")

</div>

Hi,

Thank you. One file should be sufficient. It just has to be a file that definitely imports correctly for you.

The file should include the following three words, which are in the Hebrew language. I do not know how many words per line or what format. If it works for you and you send it as an attachment, then I could see if I can import it too. If I can, then I could emulate the file. If I cannot, then it suggests the problem is software-related.

Here are three words, which I would like to import in a test file into Anki.

כלב  
חתול

תפילותינו

---

<div class="post-metadata">

**Author:** ![dudrea](https://avatars.discourse-cdn.com/v4/letter/d/73ab20/32.png) [@dudrea](https://forums.ankiweb.net/u/dudrea)\
**Post date:** [May 12, 2022, 8:53am UTC](https://forums.ankiweb.net/t/import-export/19376/15 "2022-05-12T08:53:38Z")

</div>

Hi vayedaber,  
I understand, but I don’t know how to upload files to you ! this forum doesn’t give me the mean to join text files, only link or pictures…

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [May 13, 2022, 1:01am UTC](https://forums.ankiweb.net/t/import-export/19376/16 "2022-05-13T01:01:52Z")

</div>

You can share files using a site like [gofile.io](http://gofile.io). New users won’t be able to paste links, but you can wrap the link in backticks like `http://example.com` to include it in your message.

---

<div class="post-metadata">

**Author:** ![vayedaber](https://avatars.discourse-cdn.com/v4/letter/v/6bbea6/32.png) [@vayedaber](https://forums.ankiweb.net/u/vayedaber)\
**Post date:** [May 13, 2022, 3:25am UTC](https://forums.ankiweb.net/t/import-export/19376/17 "2022-05-13T03:25:54Z")

</div>

Thank you and all who offered or provided help with my efforts to use Anki.

I turned to another application after hours over the course of many days attempting to get the Anki’s import function to work. The other application is working without a hitch.

I am signing out of this forum, again with thanks to all

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [May 1, 2023, 4:21am UTC](https://forums.ankiweb.net/t/import-export/19376/18 "2023-05-01T04:21:10Z")

</div>

Closed on May 1, 2023, 4:21am UTC


