learn · For chatting with ai

What the Edit Button Actually Does in ChatGPT, Claude, and Gemini

The pencil icon next to a past message does two very different things. On Claude and ChatGPT, it saves both versions and keeps the original one click away. On Gemini, as of May 2026, it replaces your prior turn with no way back.

Drafted by
Claude Opus 4.7
Published
April 29, 2026
Verified
May 5, 2026
For
Readers chatting with AI

Open ChatGPT, Claude, or Gemini, scroll up to a message you sent earlier, and hover over the bubble. A small pencil icon appears next to it. It has been sitting there for months. Most people who use these chats every day have either never clicked it, or clicked it once, watched the chat shorten, and quietly moved on.

Click it once and you’ll see why. The pencil opens an inline editor with your old prompt pre-loaded. Change a word, hit save (or Update, depending on the tool), and the visible thread changes shape.

Side-by-side screenshots showing the pencil edit icon on a user message in Claude.ai (left) and Gemini (right). In Claude the pencil sits in the action row beneath the message; in Gemini it appears beside the message bubble.

On Claude and ChatGPT, the pencil saves both versions of the message. The original prompt and its reply stay one click away, behind a small < > toggle. On Gemini, the pencil replaces what was there. The original is gone from the thread and from the chat history. Same icon, two very different consequences.

Claude tells you, on screen, that it’s saving the original

In Claude, the inline editor opens with a small panel underneath it that, in plain English, tells you what’s about to happen: “Editing this message will create a new conversation branch. You can switch between branches using the arrow navigation buttons.”

Claude's inline editor with the verbatim notice "Editing this message will create a new conversation branch. You can switch between branches using the arrow navigation buttons" above Cancel and Save buttons.

Save the edit and Claude makes a copy of the conversation up through the message you changed, runs the AI again on the new version, and shows you only that one. The original is still reachable, behind a small < 1/2 > indicator next to the edited message. Click the arrow and you’re back on the original thread.

An edited Claude message with a < 2/2 > branch toggle and timestamp visible in the action row below the bubble.

Manish Bansilal Choudhary, in a Medium piece on Claude’s editing behavior, describes the practical mechanic: “The old branch does not disappear from your screen. You can still navigate back to it using the arrows Claude shows you. But Claude only works from whichever branch you are currently on.” In other words, Claude saves both versions, but only “remembers” the one you’re looking at. A follow-up on the new version has no idea what was said on the old.

The counter that lets you switch is the part most people miss until someone points at it. Of the three tools, Claude is the only one that says any of this out loud while you’re editing.

ChatGPT does the same thing, more quietly

ChatGPT saves both versions the same way Claude does. What’s different is what isn’t there. No banner. No “this will create a new branch.” The thread just shortens, a small toggle slides into place next to the edited message, and you’re expected to figure out what happened.

The toggle is rendered as < > arrows in some builds and as a numbered <2/2> in others. OpenAI announced the feature in September 2025 with the line “you can now branch conversations in ChatGPT.” The canonical OpenAI Developer Community thread is the human shape of the learning curve: a user edits a middle message, watches the visible chat shrink, posts in alarm, gets pointed at the <2/2> toggle, and replies with relief that “at least that the info is not lost.”

One caveat: the toggle has been intermittently missing on a recent ChatGPT web update, with the data preserved server-side and the UI cue gone for some users. The older version is still there either way. The toggle is the way back when it appears.

Gemini’s pencil overwrites, with no way back

Gemini’s pencil opens an inline editor above the message, with Cancel and Update buttons. So far it looks like Claude and ChatGPT. Click Update and the difference shows up immediately. The original prompt and the original Gemini reply are removed from the visible thread. There is no < > toggle. There is no second branch. The chat history sidebar still lists the conversation under its old title, but the old turn inside it is gone, replaced by the edited prompt and a fresh reply. Verified live on May 5, 2026 in both Fast and Thinking modes.

Two-panel composite showing the same Gemini conversation before and after clicking Update. The original British desserts exchange visible in the top panel is gone in the bottom panel, replaced by a German desserts exchange. No branch toggle, no way back.

This is a destructive overwrite.

Gemini’s behavior changed inside the last couple of weeks. Earlier writeups describe a different mechanic in which the pencil dropped your old prompt back into the input box and left the original Q&A untouched. Not anymore. Re-test before trusting old descriptions of a Google product.

The practical rule

On Claude and ChatGPT, edit freely. The original is preserved behind the toggle next to your edited message: < 1/2 > or < > arrows.

On Gemini, edit only when you don’t want the original back. If there’s any chance you’ll want the prior Q&A, send a follow-up message instead of editing the old one.

If a Claude or ChatGPT chat looks shorter after an edit, nothing’s lost. Scroll to the edited message, find the toggle, click. On Gemini, scrolling won’t help; the original is gone the moment you hit Update.

One pencil, two behaviors, one quietly destructive. Open whichever tool you used this morning and try the pencil on a message you’ve already sent. Whatever happens there is the one to remember, at least until the next Google update.

Drafted by Claude Opus 4.7 on April 29, 2026. Verified against live sources on May 5, 2026. If any of this has rotted, tell us.