CSV Format
CSV (Comma-Separated Values) is the most common format for importing flashcards. You can create these files in any spreadsheet application like Excel, Google Sheets, or Numbers.
Structure
- Column 1: Question (front of card)
- Column 2: Answer (back of card)
- Delimiter: Comma (,), Semicolon (;), or Tab
Example
What is the capital of France?,Paris What is 2 + 2?,4 "What is the formula for area of a circle?","$A = \pi r^2$" "Explain photosynthesis","Plants convert sunlight, water, and CO2 into glucose and oxygen"
Pro Tip
If your content contains commas, wrap the entire cell in double quotes. For content with quotes, use double quotes ("") to escape them.
JSON Format
JSON is ideal for developers or when you need to preserve complex formatting. We support three different JSON structures.
Format 1: Simple Array
[
{
"question": "What is the capital of France?",
"answer": "Paris"
},
{
"question": "What is 2 + 2?",
"answer": "4"
}
]Format 2: Cards Object
{
"cards": [
{ "question": "...", "answer": "..." },
{ "front": "...", "back": "..." }
]
}Flexible Field Names
We accept both question/answer and front/back as field names.
TXT Format
We support simple pipe-delimited text files for basic text imports.
Pipe-Delimited Format
Each line contains a question and answer separated by a pipe character (|).
What is the capital of France?|Paris What is 2 + 2?|4 What is H2O?|Water
Anki Package (.apkg)
You can import your existing decks directly from Anki. We support the standard .apkg export format.
Supported Features
- Images: Automatically extracted and uploaded to your cloud storage.
- LaTeX: Intelligent conversion of Anki math formats (
\[...\],\(...\)) to our standard format. - HTML: Formatting like bold, italics, and lists is preserved.
How to export .apkg from Anki
- Open Anki and click on the gear icon next to your deck
- Select Export
- Set 'Export format' to Anki Deck Package (*.apkg)
- Ensure Include media is checked
- Click Export and save the file
Special Content
LaTeX Math Expressions
FlashcardZen fully supports LaTeX math expressions.
Inline math: $E = mc^2$
HTML Formatting
HTML formatting is preserved in all import formats (CSV, JSON, TXT):
{
"question": "<strong>Bold</strong> and <em>italic</em>",
"answer": "<ul><li>Item 1</li><li>Item 2</li></ul>"
}Code Blocks
Include code with syntax highlighting:
<pre><code class="language-python">def hello():
print("Hello, World!")</code></pre>Images & Media
NewWe support importing images, but support depends on the file format:
✅ Supported
- .apkg (Anki Package): Full support for images and media files contained within the package.
❌ Not Supported
- .csv / .txt: Cannot upload local image files alongside text files.
⚠️ Important Limits
- Max file size: 10MB (to prevent browser crashes)
- Images are automatically optimized and compressed (WebP format) to save space.
- Very large Anki decks should be split into smaller packages before importing.
Import Options
Delimiter (CSV only)
Choose between Comma (,), Semicolon (;), or Tab depending on how your file is formatted.
Ignore Duplicates
Skip cards with identical questions that already exist in your collection.