Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of ChatGPT Code Wrap

ChatGPT Code Wrap by Maoli

Add per-block and automatic word wrap controls to ChatGPT, Claude, and Gemini code blocks, including ChatGPT editable Writing Blocks.

5 (3 reviews)5 (3 reviews)
5 Users5 Users
Download Firefox and get the extension
Download file

Extension Metadata

Screenshots
About this extension
Long code lines in AI chat code blocks often require horizontal scrolling. ChatGPT Code Wrap adds word wrap controls to supported code blocks on ChatGPT, Claude, and Gemini, including ChatGPT editable Writing Blocks.

Use the per-block "Wrap" button to switch between horizontal scrolling and word wrap with one click. You can also enable Auto-wrap in the extension popup to make supported code blocks wrap by default.

The button appears in the code-block header or near the top-right area of the block. In ChatGPT editable Writing Blocks, it appears beside the native Copy action and works in both inline and full-screen views.

Features:
- Supports ChatGPT, Claude, and Gemini
- Supports ChatGPT editable Writing Blocks in inline and full-screen views
- Read long code, URLs, logs, and markdown without scrolling sideways
- Optional Auto-wrap setting, off by default
- Control individual code blocks with the Wrap button
- Only affects supported 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
Sign in to rate this extension
There are no ratings yet

Star rating saved

5
3
4
0
3
0
2
0
1
0
Read all 3 reviews
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.
Learn more
More information
Add-on Links
  • Support site
  • Support Email
  • Copy add-on ID
Version
1.2.1
Size
18.4 KB
Last updated
19 hours ago (Jul 22, 2026)
Related Categories
  • Web Development
License
MIT License
Version History
  • See all versions
Tags
  • chat
Add to collection
Report this add-on
Go to Mozilla’s homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Download

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

Latest Builds

  • Nightly
  • Beta

Firefox for Business

  • Enterprise

Community

  • Connect
  • Contribute
  • Developer

Follow

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.