You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am amazed (negatively) how long it takes a multi-billion dollar company to fix one of the most fundamental features of input context into the model context - pasting an image from clipboard.
I am sure there are tickets open for that, but this is not prioritized.
What steps can reproduce the bug?
Try to paste images into the chat input field via control+v or alt+v
Claude does that just fine. Why can you not?
What is the expected behavior?
that the image is added to the context.
Additional information
No response
Reacted by Bud-Open, lifuyue, Joey, wbdb, Johan Kjölhede and nvvetal
changed the title [-]Fix the goddamn image pasting in all environments - this is rediculous[/-][+]Fix the goddamn image pasting in all environments - this is ridiculous[/+]on Nov 1, 2025
codex-cli 0.77.0 -- still cannot paste images either via drag and drop or copy/paste. you have to put it somewhere on the filesystem and give it a path to read... 🤯
@etraut-openai Similiar issue here, macos tahoe 26.1, 3 weeks ago I change my "paste" keymap from "ctrl+v" to "cmd+v", at that time, pasting image in codex cli is working, but seems like since 0.67, I cant use that keymap, when I press cmd+v, there is no any placeholder display, but a sound pop up which indicating a problem. in 0.77, I need to press "ctrl+v" to paste.
+1. Please add native clipboard image paste in Codex CLI/TUI (Ctrl/Cmd+V when clipboard has an image). This is critical for screenshot-based context so we don’t have to describe visuals; Claude’s CLI already supports it. Ideally auto-detect image vs text and attach the image to the prompt, cross-platform.
Currently, you can no longer import images in Windows WSL2. You first have to explicitly instruct it to use the mnt path for it to work. By default, it says it cannot access it. Codex 0.80.0.
Edit: This has since been fixed, but CTRL + ALT + V etc. doesn't work. Edit: This configuration now works:#11150
The same is true for me. It works when I simply screenshot and paste it. But when I switched to the last item, chose that image again, and pasted it, I got this error. It irritates me. I have to retake screenshots whenever I forget about this. Instead of taking a bunch of screenshots and then going to the terminal to explain everything. I have to jump between terminal and browser every time to make a screenshot
If anyone is running Codex CLI on a remote Linux server over SSH and hitting clipboard issues — cc-clip now supports Codex CLI as of v0.3.0.
It works by running a headless Xvfb + a Go X11 selection owner on the remote that serves your local Mac's clipboard images on-demand through an SSH tunnel. Codex's arboard reads the X11 CLIPBOARD as if images were pasted locally.
# One command to set up (from your Mac)
cc-clip setup your-server --codex
For macOS users hitting this: the root cause is that screenshots only put raw TIFF/PNG data on the clipboard without a file URL. Terminal emulators can only Cmd+V paste text or file URLs, and Codex's arboard library sometimes fails to read TIFF-only clipboard data.
I built clipaste to fix this — a lightweight macOS daemon that watches the clipboard and auto-registers a file URL when it detects screenshot image data. Works with both Cmd+V and Ctrl+V.
For macOS users hitting this: the root cause is that screenshots only put raw TIFF/PNG data on the clipboard without a file URL. Terminal emulators can only Cmd+V paste text or file URLs, and Codex's arboard library sometimes fails to read TIFF-only clipboard data.
I built clipaste to fix this — a lightweight macOS daemon that watches the clipboard and auto-registers a file URL when it detects screenshot image data. Works with both Cmd+V and Ctrl+V.
Hey , I installed your little tool, it worked, but it also has other downsides, now on other apps, ctrl + v does not paste the image from clipboard, instead it pastes the image temp file path, i found native solution without any tool, just use Ctrl + Alt + V in the terminal to paste images instead of ctrl + v
Confirmed on native Windows 11 Pro build 26200, Codex CLI 0.157.1, Windows Terminal 1.24.11911.0, and PowerShell 7.6.6:
Ctrl+V with an image on the clipboard briefly pauses the cursor but produces no attachment or error.
Ctrl+Alt+V successfully attaches the same clipboard image, without replacing the clipboard contents.
Ctrl+V is bound to Windows Terminal's normal paste action.
Clipboard-format enumeration showed PNG, CF_BITMAP, CF_DIB, and CF_DIBV5, with no text format present.
This confirms the Ctrl+Alt+V workaround mentioned above and narrows the failure to terminal-mediated paste for this setup. Codex can read and attach this image through the direct shortcut.
OpenCode works with ordinary image paste in the same terminal setup. Its paste handler explicitly checks the clipboard when it receives an empty paste event, with a comment about image-only clipboard behavior in Windows Terminal before 1.25. That looks like a useful comparison for the Codex terminal-paste path; I haven't captured a native input-event trace or measured the brief cursor pause.
We reproduced this with Codex CLI 0.169.0 on Windows 11 and traced Ctrl+V using Windows Terminal 1.24.11911.
For an image-only clipboard, Terminal sends an empty bracketed-paste sequence (ESC[200~ESC[201~). However, the Windows console filters that sequence when virtual-terminal input is disabled, as it is in Codex’s current input mode. Codex therefore receives no paste event or V key-down. Microsoft documents this behavior in microsoft/terminal#18094.
Workaround: Press Ctrl+Alt+V. This forwards the shortcut to Codex, which reads and attaches the clipboard image directly.
Activity
[-]Fix the goddamn image pasting in all environments - this is rediculous[/-][+]Fix the goddamn image pasting in all environments - this is ridiculous[/+]github-actions commentedon Nov 1, 2025
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
[-]Fix the goddamn image pasting in all environments - this is ridiculous[/-][+]Image pasting issue[/+]kunickiaj commentedon Dec 22, 2025
codex-cli 0.77.0-- still cannot paste images either via drag and drop or copy/paste. you have to put it somewhere on the filesystem and give it a path to read... 🤯etraut-openai commentedon Dec 22, 2025
@kunickiaj, which platform are you on, and which terminal emulator are you using? If you're using Windows, are you using WSL or Windows native?
kunickiaj commentedon Dec 22, 2025
macOS 26.2 (Tahoe)
iTerm
Drag and drop/Paste results in a filename in brackes, but codex says it has no idea where the file is and tells me to give it a path.
Ctrl+V instead of normal paste results in a different filename like
codex-..but it also isnt able to see / read any image data.jenglong1899 commentedon Dec 24, 2025
@etraut-openai Similiar issue here, macos tahoe 26.1, 3 weeks ago I change my "paste" keymap from "ctrl+v" to "cmd+v", at that time, pasting image in codex cli is working, but seems like since 0.67, I cant use that keymap, when I press cmd+v, there is no any placeholder display, but a sound pop up which indicating a problem. in 0.77, I need to press "ctrl+v" to paste.
PhilChen-6765 commentedon Dec 24, 2025
macOS tahoe 26.2, codex cli v0.77.0, I am also encountering this issue, Codex cannot find the image in the clipboard.
Add one more point: In the same version v0.77.0, some conversations can find the image in the clipboard, while others cannot, which is quite strange.
Yisiooo commentedon Dec 25, 2025
V 0.77 ,It still hasn’t fixed this bug. I have to use Ctrl+V, and even right-click paste doesn’t work. Truly bizarre.
joeeeeey commentedon Jan 12, 2026
+1. Please add native clipboard image paste in Codex CLI/TUI (Ctrl/Cmd+V when clipboard has an image). This is critical for screenshot-based context so we don’t have to describe visuals; Claude’s CLI already supports it. Ideally auto-detect image vs text and attach the image to the prompt, cross-platform.
wbdb commentedon Jan 13, 2026
Currently, you can no longer import images in Windows WSL2. You first have to explicitly instruct it to use the mnt path for it to work. By default, it says it cannot access it. Codex 0.80.0.
Edit: This has since been fixed, but CTRL + ALT + V etc. doesn't work. Edit: This configuration now works: #11150
zane0307-pixel commentedon Feb 6, 2026
Still blocked by this in daily workflow.
Environment:
Why this matters:
Request:
Cmd+Vshould be first-class and clearly documented (with platform-specific guidance vsCtrl+V).serhii-chernenko commentedon Feb 21, 2026
The same is true for me. It works when I simply screenshot and paste it. But when I switched to the last item, chose that image again, and pasted it, I got this error. It irritates me. I have to retake screenshots whenever I forget about this. Instead of taking a bunch of screenshots and then going to the terminal to explain everything. I have to jump between terminal and browser every time to make a screenshot
wbdb commentedon Feb 23, 2026
Found a solution: #6080 (comment)
Just needs to be added to the documentation.
ShunmeiCho commentedon Mar 12, 2026
If anyone is running Codex CLI on a remote Linux server over SSH and hitting clipboard issues — cc-clip now supports Codex CLI as of v0.3.0.
It works by running a headless Xvfb + a Go X11 selection owner on the remote that serves your local Mac's clipboard images on-demand through an SSH tunnel. Codex's
arboardreads the X11 CLIPBOARD as if images were pasted locally.# One command to set up (from your Mac) cc-clip setup your-server --codexThis won't help with local Linux desktop clipboard issues, but for the SSH/headless use case it's a drop-in solution. Open source (MIT): https://github.com/ShunmeiCho/cc-clip
hqhq1025 commentedon Apr 12, 2026
For macOS users hitting this: the root cause is that screenshots only put raw TIFF/PNG data on the clipboard without a file URL. Terminal emulators can only Cmd+V paste text or file URLs, and Codex's
arboardlibrary sometimes fails to read TIFF-only clipboard data.I built clipaste to fix this — a lightweight macOS daemon that watches the clipboard and auto-registers a file URL when it detects screenshot image data. Works with both Cmd+V and Ctrl+V.
Tested with Codex CLI + Ghostty 1.3.1.
mraihan20295 commentedon May 2, 2026
Hey , I installed your little tool, it worked, but it also has other downsides, now on other apps, ctrl + v does not paste the image from clipboard, instead it pastes the image temp file path, i found native solution without any tool, just use Ctrl + Alt + V in the terminal to paste images instead of ctrl + v
GiGurra commentedon Jul 5, 2026
This needs a fix. Coming from claude code and now trying out codex cli, I use this feature daily
mraihan20295 commentedon Jul 5, 2026
just use Ctrl + Alt + V instead of Ctrl + V, that would do the job
qyte commentedon Sep 27, 2026
Confirmed on native Windows 11 Pro build 26200, Codex CLI 0.157.1, Windows Terminal 1.24.11911.0, and PowerShell 7.6.6:
pasteaction.This confirms the Ctrl+Alt+V workaround mentioned above and narrows the failure to terminal-mediated paste for this setup. Codex can read and attach this image through the direct shortcut.
OpenCode works with ordinary image paste in the same terminal setup. Its paste handler explicitly checks the clipboard when it receives an empty paste event, with a comment about image-only clipboard behavior in Windows Terminal before 1.25. That looks like a useful comparison for the Codex terminal-paste path; I haven't captured a native input-event trace or measured the brief cursor pause.
etraut-openai commentedon Nov 15, 2026
We reproduced this with Codex CLI 0.169.0 on Windows 11 and traced Ctrl+V using Windows Terminal 1.24.11911.
For an image-only clipboard, Terminal sends an empty bracketed-paste sequence (
ESC[200~ESC[201~). However, the Windows console filters that sequence when virtual-terminal input is disabled, as it is in Codex’s current input mode. Codex therefore receives no paste event or V key-down. Microsoft documents this behavior in microsoft/terminal#18094.Workaround: Press Ctrl+Alt+V. This forwards the shortcut to Codex, which reads and attaches the clipboard image directly.