# Flashcard Format Converter > Convert flashcards between Anki text, CSV, Quizlet, Mochi, Obsidian and Lessonleaf. Converts flashcards between six text formats: the card syntax of Deckwright and Lessonleaf (Q:/A:, term :: definition, cloze), CSV, Anki “Notes in Plain Text” with note types and tags, Quizlet import text, Mochi Markdown and the Obsidian Spaced Repetition plugin syntax. Two-way cards, cloze gaps with hints and tags are carried over where the target can hold them; everything a format cannot hold is listed. The result is read back to check it. Part of usefulweb.app (https://usefulweb.app/). Part of [Lessonleaf](https://lessonleaf.usefulweb.app/) (ownerApp: lessonleaf). Results are deterministic calculations from the inputs and the listed assumptions; the API returns exactly what the web page shows. ## Use it - Human interface: https://flashcardformatconverter.usefulweb.app/ (interactive tool at https://flashcardformatconverter.usefulweb.app/tool) - JSON API: POST https://flashcardformatconverter.usefulweb.app/api/v1/calculate with a JSON object of inputs (schema: https://flashcardformatconverter.usefulweb.app/api/v1/tool) - OpenAPI: https://flashcardformatconverter.usefulweb.app/openapi.json - MCP (Streamable HTTP): https://flashcardformatconverter.usefulweb.app/mcp - tool `flashcard_format_converter` ## Inputs - text (textarea): Cards - from (select): From - to (select): To - deckTag (text): Obsidian deck tag - The plugin’s flashcard tag (without #); tags become sub-decks like #flashcards/Spanish. - mochiDelimiter (text): Mochi card delimiter - The line between cards; choose the same delimiter in Mochi’s Markdown import. ## Method - Every format is read into one note model (basic, two-way or cloze; question, answer, tags). The shared syntax is read with the same parser as Deckwright’s Study view (cards.ts), CSV with RFC 4180 rules, Anki text with its file headers (#separator, #html, #notetype column, #tags column, #deck column) and HTML turned into text. - Obsidian Spaced Repetition: tag lines such as #flashcards/deck set the deck of the cards below; front::back, front:::back (two-way), multi-line cards with a ? or ?? line, ==cloze== deletions (with ^[hint] and [^n] groups); scheduling comments are ignored. Mochi: sides split at a --- line, cards at the delimiter line; {{1::…}} groups and {{…}} deletions. Quizlet: one card per line, term and definition split at a tab (or comma, or " - "). - Cloze gaps are kept as {{cN::answer::hint}} internally; Obsidian gets ==answer== (classic ==answer==[^N] when gaps share a number), Mochi {{N::answer}}, Quizlet one line per gap (sentence with […] → hidden text). - Check: the output is parsed again with the target format’s reader; “verified” means it gives back the expected number of notes (Quizlet and Mochi count the cards they split into). ## Limits - Text formats only: Anki .apkg packages, Mochi .mochi archives and pictures are not read or written, and review history is not converted. Card formatting beyond bold, italics and line breaks may change.