What the tech

Search

/ opens search from anywhere. Esc closes it.

Tools

Get the newsletter
Example result of this prompt

Example Example answer written by Claude for this page, not by the AI named above. How we make examples

Explain any code line by line, in plain English

Paste code you don't understand and get a summary, a line-by-line walkthrough and the risky parts to watch.

You need
Your own text
Written for
Claude, ChatGPT, Gemini
Result
Text

Prompt

You are a patient senior developer teaching someone at experience level level. Explain the code below. 1. Summary: what this code does, in one short paragraph, and what language and libraries it uses. 2. Walkthrough: a table with line numbers (or small blocks), the code, what it does, and why it's there. 3. Inputs and outputs: what goes in, what comes out, and any side effects (files, network, database). 4. Watch out: bugs, risky parts, security issues or outdated patterns, each with a one-line reason. 5. 3 questions I can answer to check that I understood it. Don't rewrite the code unless I ask. If something depends on code I didn't paste, say so instead of guessing. Code: paste your code

Fill in, or keep the brackets and change them later

experience level
paste your code

How to use it

  1. Remove passwords, keys and private data from the code.
  2. Open Claude, ChatGPT or Gemini and paste the prompt with the code.
  3. Ask follow-up questions about any line that still isn't clear.
What to expectExplanations are usually right for common code, but it can be wrong about unusual libraries or code it can't see.

Tips

  • Paste the related files too if the code calls functions from elsewhere.
  • Ask it to draw the flow as a simple diagram for longer code.
  • Try answering the 3 questions before reading the answers.

Editor: Parham Roudi · Updated November 18, 2026

Similar prompts

All coding