ChatGPT Code Wrap by Maoli
Add a per-block word wrap toggle to ChatGPT code blocks. No more horizontal scrolling!
Extension Metadata
Screenshots
About this extension
ChatGPT's code blocks don't support word wrap — long lines force you to scroll horizontally. This extension fixes that by adding a small "Wrap" toggle button to every code block in ChatGPT's responses.
Click the button to wrap long lines to fit your screen. Click again to restore the original horizontal scroll. The button appears in the code block header bar, next to the copy button.
Features:
- Per-block toggle — wrap only the blocks you need
- Supports both CodeMirror and simple code blocks
- Only affects ChatGPT responses, not your own messages
- Lightweight, no data collection, fully open source
GitHub: https://github.com/maoli17/chatgpt-code-wrap
Click the button to wrap long lines to fit your screen. Click again to restore the original horizontal scroll. The button appears in the code block header bar, next to the copy button.
Features:
- Per-block toggle — wrap only the blocks you need
- Supports both CodeMirror and simple code blocks
- Only affects ChatGPT responses, not your own messages
- Lightweight, no data collection, fully open source
GitHub: https://github.com/maoli17/chatgpt-code-wrap
Rated 0 by 0 reviewers
Permissions and data
Required permissions:
- Access your data for chatgpt.com
- Access your data for chat.openai.com
Data collection:
- The developer says this extension doesn't require data collection.
More information
- Add-on Links
- Version
- 1.0.0
- Size
- 13.06 kB
- Last updated
- 4 days ago (5 Apr 2026)
- Related Categories
- Licence
- MIT Licence
- Version History
- Add to collection