UPDATE: There is an updated version of this bookmarklet you can find here.
Want to see how ChatGPT decides what to search and why? This bookmarklet I built gives you a behind-the-scenes look.
What It Does
This tool extracts:
- All grounded search queries ChatGPT used during a conversation (e.g. when browsing is enabled)
- The reasoning or “thoughts” ChatGPT had about why it searched what it did
- UPDATE: It now also extracts the titles, URLs, and snippets of all the webpages accessed in searches
It opens everything in a clean, formatted page with:
- A copy button next to each item
- A copy all option
- My favorite part: The actual internal thought process GPT used before querying Bing
Why It’s Useful
- See how GPT forms its search intent
- Audit prompt grounding for transparency
- Analyze how AI aligns its queries with your request
- Great for SEOs, prompt engineers, and content strategists
Example of the Output
Here is an example of what the output looks like from a chat I created:

How to Create a Bookmarklet (If You’ve Never Done It Before)
If you’re copying the code manually:
- Right-click your bookmarks bar and choose “Add page” (or “Add bookmark”)
- Set the Name to something like:
GPT Reasoning Extractor - Paste the JavaScript code into the URL field
(Yes, even though it’s not a normal URL) - Save it
Now any time you’re on a ChatGPT conversation, just click that bookmarklet and it’ll instantly open the search queries and reasoning in a clean new tab.
You can also just drag and drop the link I provided below directly to your browser’s bookmark bar and it will create it automatically for you.
🧠 Try It
Drag this to your bookmark bar ==> ChatGPT Search Query and Reasoning Extractor
⚙️ Here’s How You’d Do This Manually (The Hard Way)
- Open DevTools (
Cmd+Opt+Ion Mac orCtrl+Shift+Ion Windows) - Go to the Network tab and clear the logs
- Trigger a response in ChatGPT that uses web browsing
- Filter for
conversation/in the network log - Click the most recent call to
/backend-api/conversation/{id} - Open the Response tab
- Manually search through the JSON to find:
search_queries[].q→ the queries sent to Bingcontent_type: "thoughts"blocks → ChatGPT’s internal reasoning
- Copy/paste the results somewhere useful
- Format it into something human-readable
😵💫 And that’s just for one conversation.
⚡ This Bookmarklet Automates All of That
1 click → formatted output
No DevTools, no JSON digging, no frustration



