Published on November 19, 2025
A Chrome extension that exports Udemy practice tests as CSV or JSON. Designed for instructors to extract test data from their practice tests in instructor preview mode.
I was making some Udemy practice tests when I realized there was no way to export them as CSV to make edits. Udemy only allows importing CSV files, not exporting. If I had added the questions manually or edited them in Udemy's native website, I had to do manual entry into a CSV file every time I wanted to work with the data outside of their interface. This extension solves that problem by extracting the test data directly from the instructor preview mode and exporting it as CSV or JSON.
Features
- Export practice test data as CSV or JSON
- Instructor-only functionality requiring instructor preview mode
- Simple one-click extraction process
- Compatible with Udemy's instructor interface
- Lightweight Chrome extension with minimal permissions
Quick Start
- Open your practice test in instructor preview mode on Udemy
- Click the extension icon in your browser toolbar
- Click Extract Test Data
- Choose your export format (CSV or JSON)
- Download the file
Installation
I'm trying to publish this to the Chrome Web Store, but for now you'll need to install it manually from GitHub.
- Clone the repository:
git clone https://github.com/Tecttano/udemy-test-downloader.git
cd udemy-test-downloader
- Open Chrome and navigate to
chrome://extensions/ - Enable Developer Mode (toggle in the top-right corner)
- Click Load unpacked
- Select the cloned repository directory
Usage Examples
Basic Export
- Log in to your Udemy instructor account
- Navigate to the practice test you want to export
- Enable instructor preview mode
- Click the extension icon
- Select Extract Test Data
- Choose CSV or JSON format
- The file will download automatically
Exporting Multiple Tests
For multiple practice tests, repeat the process for each test individually. Each export contains the data from the currently viewed test in instructor preview mode.
Technical Details
The extension is built using standard Chrome extension APIs and JavaScript. It interacts with Udemy's instructor interface to extract practice test data when in preview mode. The content script identifies test elements and structures the data for export.
The extension uses Chrome's storage and download APIs to handle file generation and saving. CSV export formats questions and answers in a structured table format, while JSON export provides the same data in a machine-readable format for integration with other tools or analysis scripts.
Permissions are kept minimal, only requiring access to Udemy domains to function properly. The extension operates entirely client-side, with no data transmitted to external servers.
Requirements
- Google Chrome browser (Chromium-based browsers may also work)
- Active Udemy instructor account
- Practice tests created in your Udemy instructor dashboard
- Instructor preview mode access
File Formats
CSV Format
Exports test data as a comma-separated values file with columns for question content, answer options, correct answers, and metadata. This format is ideal for spreadsheet applications like Excel or Google Sheets.
JSON Format
Exports test data as a structured JSON object containing questions, answers, and metadata in a hierarchical format. This format is ideal for programmatic access or integration with other tools.
Troubleshooting
Extension Not Appearing
- Verify the extension is enabled in
chrome://extensions/ - Check that the extension icon is pinned to your toolbar
- Refresh the Udemy page after installing
Instructor Preview Mode Not Available
- Ensure you are logged in as the instructor who created the test
- Verify you have instructor permissions for the course
- Check that the practice test is published and accessible
Export Fails
- Confirm you are in instructor preview mode before clicking extract
- Check browser console for error messages (F12 → Console tab)
- Try refreshing the page and attempting export again
- Ensure the practice test page has fully loaded before extracting
Export Button Not Visible
- The extension only works on practice test pages in instructor preview mode
- Verify you are on the correct Udemy page
- Check that JavaScript is enabled in your browser
Development Notes
Built with vanilla JavaScript and Chrome Extension Manifest V3. Uses Chrome's content scripts to interact with Udemy's DOM and extract the test data when you're in instructor preview mode. The file structure follows standard Chrome extension conventions. It's MIT licensed if anyone else wants to use or modify it.