Explain the code ChatGPT wrote
Unvibe is a free desktop app for Mac and Windows that explains the code you select in plain English. The answer around the code says what it is for; the code is what will run. Select the code ChatGPT wrote, in your browser or after you paste it into your editor, press Control+U (Ctrl+Alt+U on Windows), and Vibe explains it in a panel beside it, at the depth you pick.
Download freeNo account and no API key to start.

A worked example
Say you ask ChatGPT for a script that adds up the amount column of a CSV export. This script is a sample written by hand for this page, the kind of answer a chat gives for that request. It is not a recorded ChatGPT answer. Every result below was checked by running it in Node.js 25:
// Add up the "amount" column of a CSV export.
const fs = require("fs");
function totalAmount(path) {
const lines = fs.readFileSync(path, "utf8").trim().split("\n");
const header = lines[0].split(",");
const col = header.indexOf("amount");
let total = 0;
for (const line of lines.slice(1)) {
const cells = line.split(",");
total += parseFloat(cells[col]);
}
return total.toFixed(2);
}
console.log(totalAmount(process.argv[2]));The notes below are written by hand to show what a careful read finds. They are not output from Unvibe.
- On a simple file it works: two rows of 12.50 and 7.25 print 19.75.
trim()drops the newline at the end of the file, so there is no empty last row. line.split(",")splits on every comma, including one inside quotes. A customer named"Acme, Inc."pushes the amount one column to the right, and the total printsNaN. A quoted"1,200.00"does the same.- A file saved on Windows ends each line with
\r\n. When amount is the last column, as in this export, the header cell becomes"amount\r",indexOfreturns -1,cells[-1]isundefined, and every row addsNaN. - One blank amount makes the whole total
NaN:parseFloat("")isNaN, andNaNplus any number isNaN. toFixed(2)returns text, not a number. Code that adds 1 to the result gets"19.751".
The script answers the question as it was asked. The cases nobody mentioned, quotes, Windows line endings and blanks, print NaN or a wrong total with no error. Reading it is how you find those before the number goes into a report. Start with the lines that split text: here, the two split calls.
Doing it with Unvibe
- Select the code in the ChatGPT tab in your browser, or in your editor after you paste it. Unvibe works in any app where you can select code; in VS Code and Cursor, the editor bridge (Unvibe's Settings, Integrations) adds ⌘U (Ctrl+U on Windows).
- Press Control+U on a Mac or Ctrl+Alt+U on Windows. The panel opens beside your editor and the explanation streams in as it is written.
- Pick a depth. New, Beginner, Intermediate and Advanced are free; Expert is part of Pro. Switch any time and the same code is explained again at that depth.
- Type a follow-up under the explanation, such as “Why is the total NaN when a customer's name has a comma in it?” The answer stays about the code you selected.
- Press Test me. It writes a question about this exact code, and up to three if you want more. Miss one and the lesson is saved to revisit later.
You can ask ChatGPT to explain its own code, and often that is enough: explaining is one of the things OpenAI lists ChatGPT for. The difference is where the explanation lives. A chat answer stays in the chat, while Unvibe's explanation sits beside the code wherever you selected it, at the depth you chose, is saved to your Library, and Test me can check that you got it. It still works a week later, after you have pasted the code into your project and changed it.
Once the code is in a project, Briefs list what changed in your working tree, staged files, the latest commit or a branch. Briefs are made on your computer for free; the AI explanation of a change is Pro.
Yes. AI can be wrong even when it sounds sure. Each explanation sits next to the code it describes so you can check it, and Test me helps you spot what doesn't add up.
What leaves your computer
The code you select is sent to a cloud model to write the explanation. Only what you ask about: the selected code and its language, the file's path inside your project when Unvibe knows which file it came from (like src/lib/retry.ts), and the name of the project folder you last worked in with Unvibe. With Pro, some nearby code is added for context, and Briefs send the git changes you ask the AI to explain. Any question you type is sent too. Unvibe checks the code for keys and tokens on your computer first, and from version 0.1.44 your questions and Ask Vibe chat messages too. A known key stops the request. Your repo is never uploaded. If you add your own API key in Settings, the app sends the request straight to that provider instead.
Free and Pro
Free. 50 explanations in your first 30 days without signing in, then 50 explanations a month when you sign in. No card and no separate API key.
- Explain code you select in any app
- New, Beginner, Intermediate and Advanced depths
- Follow-ups and Test me
- Lessons saved to your Library
- Briefs of your Git changes, made on your computer
- “Why does this exist?” from your Git history
- Your code checked for keys and tokens on your device
Pro, $9 a month or $81 a year. One developer account. Your Free plan keeps working until then.
- Everything in Free
- Expert depth
- AI explanations of Git diffs and change Briefs
- Answers that use nearby files
- 200 AI explanations a month
Explain the next script ChatGPT gives you
Unvibe is a free app for Mac and Windows. There is nothing to paste: select code in your browser, your editor or any other app and press Control+U (Ctrl+Alt+U on Windows).
Download freeNo account and no API key to start.