ChatGPT Code Wrap by Maoli
Add a per-block word wrap toggle to ChatGPT, Claude, and Gemini code blocks. No more horizontal scrolling!
1 User1 User
Extension Metadata
Screenshots
About this extension
Long code lines in AI chat code blocks often require horizontal scrolling. ChatGPT Code Wrap adds a small "Wrap" button to supported code blocks on ChatGPT, Claude, and Gemini, letting you switch between horizontal scroll and word wrap with one click.
The button appears in the code-block header when available. For blocks that use a different layout, the extension falls back to a button near the top-right area of the block.
Features:
- Supports ChatGPT, Claude, and Gemini
- Read long code, URLs, logs, and markdown without scrolling sideways
- Control each code block independently
- Keeps wrap off by default for indentation-sensitive code
- Only affects assistant response code blocks, not your own messages
- Lightweight, no data collection, fully open source
GitHub: https://github.com/maoli17/chatgpt-code-wrap
The button appears in the code-block header when available. For blocks that use a different layout, the extension falls back to a button near the top-right area of the block.
Features:
- Supports ChatGPT, Claude, and Gemini
- Read long code, URLs, logs, and markdown without scrolling sideways
- Control each code block independently
- Keeps wrap off by default for indentation-sensitive code
- Only affects assistant response code blocks, not your own messages
- Lightweight, no data collection, fully open source
GitHub: https://github.com/maoli17/chatgpt-code-wrap
Rated 5 by 3 reviewers
Permissions and data
Required permissions:
- Access your data for chatgpt.com
- Access your data for chat.openai.com
- Access your data for claude.ai
- Access your data for gemini.google.com
Data collection:
- The developer says this extension doesn't require data collection.
More information
- Add-on Links
- Version
- 1.1.1
- Size
- 15.11 KB
- Last updated
- 13 days ago (May 8, 2026)
- Related Categories
- License
- MIT License
- Version History
- Add to collection