Description from extension meta
Download code snippets from ChatGPT responses directly to your computer with a single click.
Image from store
Description from store
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!
Statistics
Installs
6
history
Category
Rating
0.0 (0 votes)
Last update / version
2025-09-09 / 0.2.0
Listing languages
en