12 6
Sign in to rate

Export Cards As Text

0.02MB. Updated 2014-09-14. Only supports Anki 2.0.x.

Description

Anki addon for exporting cards from Anki to a text file (CSV, XML, JSON). Copyright (c) 2014 Jiri Kriz, http://www.nosco.ch/main/en/contact.php License: GNU GPL, version 3 or later; http://www.gnu.org/copyleft/gpl.html Version 1.1, 14-Sep-2014 (works only with Anki 2.0.x) Use https://ankiweb.net/shared/info/1112021968 with Anki 2.1.x. Support: None. Use at your own risk. You can send me suggestions and bug reports. Remarks: Versions:

Download

As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.

To download this add-on, please copy and paste the following code into the desktop program:

1589071665

If you were linked to this page from the internet, please open Anki on your computer, go to the Tools menu and then Add-ons>Browse & Install to paste in the code.

Other Anki 2.0.x Add-Ons Ask a Question

Reviews

on 1535327018
Muy bueno
on 1521244800
When I first used this AddOn, I thought it was bugged, so I have a couple notes for users, the second of which is a suggestion for the developer, and probably a reason for some of the down votes.

1. To use this once you add it, go to Tools --> ExportCardsAsText
2. IMPORTANT: When opening the CSV, you must change or set the character set to "Unicode (UTF-8)". It was set to "Unicode" by default and I could just see one line of Asian symbols characters. But once I changed the character set, everything was there properly in HTML/text format. This was in OpenOffice, so I don't know what happens in Excel, but I suggest changing the default character set appropriately if that is possible, or adding a note to this page.

Thank you for this add on! Should be a default option in the program.

UPDATE: I actually looked in detail at the CSV and it seems to be in complete disorder instead of any clean columns. I'm going to guess this is because there is HTML in this particular deck I'm trying to download which may be throwing it off.
on 1510358400
does not work for RTL languages and characters

characters won't show correctly
on 1506038400
doesn't export valid json

It leave's a couple of double quotes where there shouldn't be any (for example "can't" becomes "can"t") and that breaks the json.
on 1477267200
special characters

I want to export my ancient and modern greek files to .xml but the greek characters are not displayed correctly. Same with german "Umlaut" (ä,ö,ü). Could you fix these problems or give me an advice to fix it by myself?
on 1474848000
Help!

Traceback (most recent call last):
File "aqt\webview.py", line 157, in _loadFinished
File "aqt\editor.py", line 507, in _loadFinished
File "aqt\editor.py", line 539, in loadNote
File "anki\notes.py", line 89, in items
IndexError: list index out of range
on 1473206400
Hotkey option

Nice plugin! I wanted to export with a hotkey, so I added this functionality:
https://gist.github.com/davidgengenbach/797d72b15926559914866dd2f2efae1f
on 1465862400
Good stuff!

Great for taking out and studying with other apps or scripts
on 1461974400
Works well

Does what it says on the tin.

Only problem is when the export escape character appears within the exported text.

For example, if I exported "red, green and blue","red, blue and white" the export gives 4 fields not two - "red", "green and blue, "red", "blue and white"
on 1444089600
Nicely done!

Thanks man! I totaly owe you a coffee! :D
I'm using this with quizzlet (https://quizlet.com) since on quizlet I can import and study the things as a game. I really love this combination oh what a wonderful world we live in :)
(Quizzlet learning modes: http://prntscr.com/8o2t4g)
on 1438732800
Exactly what i wanted

Lets you export anki deck into excel. Deck needed a bit of organising, i.e. commas removed, but great add-on
on 1433289600
Super!

Great addon. Thanks very much for sharing this! I'm on a Mac, by the way.

One question, though. I use a fair amount of html in my NOTES field (e.g. ⟨p⟩ and ⟨address⟩). As a result, the content of that field generally gets split into many parts. Would it possible to add double quotation marks around it?
on 1421971200
Great Addon!

This add-on is perfect! I saw the low stars so I thought I would write a review. I was going to make a plugin that did just this too!

No problems at all!
on 1409961600
Error

Có lỗi xảy ra trong phần gắn thêm.
Xin vui lòng gửi lên diễn đàn phần gắn thêm:
https://anki.tenderapp.com/discussions/add-ons

Traceback (most recent call last):
File "C:\Documents and Settings\Nguyen Viet Loc\My Documents\Anki\addons\Export_Cards_As_Text.py", line 277, in accept
def setupUi(self, textExportDlg):
File "C:\Documents and Settings\Nguyen Viet Loc\My Documents\Anki\addons\Export_Cards_As_Text.py", line 394, in doExport

File "C:\Documents and Settings\Nguyen Viet Loc\My Documents\Anki\addons\Export_Cards_As_Text.py", line 107, in FILTER_DECK
# If not checked, then the reverse cards will not be output. </li>
IndexError: list index out of range
on 1407628800
Does not work

In einem Add-On trat ein Fehler auf.
Bitte posten Sie ihn im Add-On-Forum:
https://anki.tenderapp.com/discussions/add-ons

Traceback (most recent call last):
File "/Users/ts/Documents/Anki/addons/Export_Cards_As_Text.py", line 277, in accept
ok = exporter.doExport()
File "/Users/ts/Documents/Anki/addons/Export_Cards_As_Text.py", line 394, in doExport
matchDeck = mw.EXPORT.FILTER_DECK_INDEX == 0 or deckName == mw.EXPORT.FILTER_DECK()
File "/Users/ts/Documents/Anki/addons/Export_Cards_As_Text.py", line 107, in FILTER_DECK
return self.decks[self.FILTER_DECK_INDEX]
IndexError: list index out of range
on 1407024000
ERROR

An error occurred in an add-on.
Please post on the add-on forum:
https://anki.tenderapp.com/discussions/add-ons

Traceback (most recent call last):
File "C:\Users\LAMBORGHINI-GT\Documents\Anki\addons\Export_Cards_As_Text.py", line 277, in accept
def setupUi(self, textExportDlg):
File "C:\Users\LAMBORGHINI-GT\Documents\Anki\addons\Export_Cards_As_Text.py", line 394, in doExport

File "C:\Users\LAMBORGHINI-GT\Documents\Anki\addons\Export_Cards_As_Text.py", line 107, in FILTER_DECK
# If not checked, then the reverse cards will not be output. </li>
IndexError: list index out of range