Unmarkdown
Google Docs

How to Remove the Gray Background When Pasting from ChatGPT

Updated Feb 20, 2026 · 3 min read

You paste a ChatGPT response into Google Docs or Word, and the text arrives with an ugly gray background. Not the content you wanted, just a visual artifact from how ChatGPT displays its responses in the browser.

This is one of the most common formatting issues people run into when using AI tools.

Why the gray background appears

When you copy text from ChatGPT's web interface, your browser copies both the text and its surrounding HTML styling. ChatGPT's UI uses a light gray background for its response area. That background color gets included in the clipboard data.

When you paste into Google Docs or Word, the app applies the background color to the pasted text, resulting in gray-highlighted paragraphs that look out of place in your document.

Common workarounds that don't fully work

"Paste without formatting" (Cmd+Shift+V)

This strips the gray background, but it also strips everything else: bold, italic, headings, lists, tables, code blocks. You end up with a wall of plain text with markdown symbols.

Manually removing the highlight

In Google Docs, you can select the text and change the highlight color to "None." This works but is tedious for long responses, and you still lose the markdown formatting (headings show as #, bold shows as **text**).

Copying from ChatGPT's "Copy" button

ChatGPT's built-in copy button copies raw markdown instead of HTML. This avoids the gray background but gives you markdown symbols instead of formatted text.

The real fix

The gray background is a symptom of a larger problem: the formatting you're copying is optimized for ChatGPT's web interface, not for your destination app.

Unmarkdown™ solves both problems at once. It takes the markdown content and converts it to clean, properly formatted text for your specific destination, with no background colors, no markdown symbols, and no formatting artifacts.

  1. Use ChatGPT's copy button (or select and copy the response)
  2. Paste into unmarkdown.com
  3. Choose your destination (Google Docs, Word, Email, etc.)
  4. Paste the result into your document

The output has proper headings, bold text, tables, code blocks, and zero gray backgrounds.

This affects other AI tools too

The gray background issue is most common with ChatGPT, but similar problems occur with:

  • Claude: Responses have a cream/beige background in the web UI
  • Gemini: Google's AI uses a light background that can transfer on paste
  • Perplexity: Citation highlights and backgrounds can carry over

Unmarkdown™ handles output from all of these tools. Paste the markdown, choose your destination, and get clean formatting.

Destination-specific solutions

The formatting needs differ by app:

  • Google Docs: Gets clean rich text with proper heading levels and table formatting
  • Word: Gets Word-compatible styles with heading mappings
  • Email: Gets inline-styled HTML that works across Gmail, Outlook, and iCloud Mail
  • Slack: Gets mrkdwn format with Slack-native bold and code blocks

FAQ

Why does the gray background only appear sometimes?

It depends on how you copy. Selecting text in ChatGPT's interface copies the HTML with background styles. Using ChatGPT's copy button copies raw markdown (no background, but no formatting either). Unmarkdown™ works with both.

Does this happen on mobile too?

Yes. Mobile browsers also copy background styling when you select and copy text from ChatGPT. The same fix applies.

Is there a browser extension that fixes this?

Some extensions modify the clipboard on copy, but they're fragile and break when ChatGPT updates its UI. Unmarkdown™ works with the markdown content itself, so it's independent of how ChatGPT displays its interface.

Your markdown deserves a beautiful home.

Start publishing for free. Upgrade when you need more.

View pricing