ChatGPT Code Downloader icon

ChatGPT Code Downloader

by wittcode

v0.2.0 Updated Sep 9, 2025 54.65KiB
CWS
29
Users
★ 0.00
0 reviews
#67864
of 151.6K
developer
#5716 of 13.3K

Description

Easily download ChatGPT code responses as a structured ZIP project. This extension automatically collects all code blocks from the latest assistant response and saves them into a ZIP file. Filenames and project structure are preserved when you include a comment with the file path at the top of each code block. ⚠️ Important ⚠️ For accurate filenames and folder structure, you must instruct ChatGPT to include a file path comment at the top of each code block. Without it, files will be saved with default names like file1.js, file2.py, etc. Example Prompt: Generate me some code blocks for several languages. Please also include the file path as a comment at the top of each code block. **Expected ChatGPT Output:** ------------------------------ // Sources/App.swift import Foundation print("Hello from Swift!") ------------------------------ // src/lib/math.cpp #include <iostream> using namespace std; int main() { cout << "Hello from C++!" << endl; return 0; } ------------------------------ // src/main/java/com/example/App.java package com.example; public class App { public static void main(String[] args) { System.out.println("Hello from Java!"); } } ------------------------------ Now click the "Download Response Code" button to download all files with correct paths and file names. Note that if ChatGPT doesn't output responses just like this there could be issues with file names and paths. --- ## Features - Adds a Download Response Code button below each ChatGPT conversation. - Automatically detects code blocks in the latest assistant response only. - Preserves file name and path if comment is provided at the top of the code block. - Falls back to file1.txt, file2.js, etc., if no path is provided. - Preserves multiple files and creates a ZIP archive for easy download. - Works with multiple programming languages. --- ## Notes Icon taken from https://www.flaticon.com/free-icons/robot. Robot icons created by juicy_fish - Flaticon. Thank you Juicy Fish!
ChatGPT Code Downloader screenshot 1ChatGPT Code Downloader screenshot 2ChatGPT Code Downloader screenshot 3

Reviews

Loading reviews...

Permissions (1)

Permissions

downloads Can manage and monitor downloads

Details

Version 0.2.0
Updated Sep 9, 2025
Size 54.65KiB
First Seen Mar 29, 2026