This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

Flashcard Deck Import from Selection

Productivity · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — try it free, no account needed.
CategoryProductivity
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES

Flashcard Deck Import from Selection lets you instantly create flashcard decks from any text you select on the web. Highlight terms and definitions, and the script parses them into question/answer pairs based on your chosen delimiter—whether it's "term - definition", "term: definition", tab-separated, or line-separated. The tool also detects structured content like tables and lists, extracting flashcards directly from HTML tables and bullet/numbered lists. A panel preview shows all parsed flashcards with front/back pairs, allowing you to review before exporting. One click exports your deck in the format your favorite flashcard app requires—Anki CSV, Quizlet CSV, or Brainscape-friendly formats. You can also download as generic CSV, JSON, or TSV for use in spreadsheets or other apps. Perfect for students, teachers, and lifelong learners who want to turn web content into study materials in seconds.

WHERE IT RUNS

This script runs on any webpage—any text you can select becomes a potential flashcard deck. It operates entirely within your browser tab, reading your selected text or the page's DOM structure. The script cannot access other tabs, your browsing history, bookmarks, downloads, or any data outside the current page. All settings—including default app, delimiter, deck name, and export format—are stored locally using GM_setValue and never transmitted anywhere.

HOW TO USE

After installing with the BotGentz extension, simply select text on any webpage and click "Import from Selection" in the panel. The script parses your selection into flashcards using your configured delimiter. Review the parsed cards in the preview panel—each card shows the front (term/question) and back (definition/answer). Click "Import from Table/List" to extract flashcards directly from HTML tables, bullet lists, or numbered lists without selecting text first. Choose your target flashcard app from the dropdown (Anki, Quizlet, Brainscape) or select a generic format (CSV, JSON, TSV). Click "Export Deck" to copy the formatted deck to your clipboard, ready to paste into your flashcard app. Use "Download Deck" to save the deck as a file. Customize the delimiter, set a deck name, and adjust other settings to match your workflow.

THE REAL MECHANISM

The script uses a multi-strategy parsing engine to handle diverse input formats. When text is selected, it splits the text into lines and applies the user's delimiter (default: " - ") to separate front and back fields. If no delimiter is specified, the script auto-detects common separators like tabs, colons, pipes, and dash-space combinations. For structured content, the script detects if the selection is inside a table and extracts all rows, using the first two cells as front/back pairs. For lists, it extracts each list item and attempts to find delimiters within the item text, falling back to treating the entire item as the front with no back. The parsing engine also handles bullet lists (•, *, -) and numbered lists, cleaning formatting characters automatically. The exporter formats cards according to the selected app's requirements: Anki uses a quoted CSV format with HTML support, Quizlet uses a term/definition CSV format, and JSON exports include deck name and card array. All rendering uses safe DOM manipulation with no innerHTML from untrusted content.

THE PANEL

The Flashcard Importer panel is a BGPanel component that you can drag anywhere on your screen by its header. It snaps to the nearest edge when released, keeping your workspace organized. The panel collapses to a small bubble showing only the emoji icon when minimised—click to expand it again. You can resize the panel horizontally to see more of the flashcard preview. Press the Escape key to collapse the panel instantly. Your panel position and size are saved per-site.

PLEASE NOTE

This script requires the free BotGentz browser extension to function. The parsing accuracy depends on the consistency of your selected text—well-structured content with clear delimiters works best. For tables and lists, the script extracts text content and may not preserve complex formatting like images or nested structures. Always review parsed cards before exporting. The script never reads or writes password fields, hidden inputs, or file inputs. It stores only your default app, delimiter, deck name, and export format preference locally. No text content, flashcard data, or personal information is ever collected, transmitted, or shared.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.