Zum Inhalt springen

Dieser Artikel wurde noch nicht übersetzt – Sie lesen das englische Original.

Know-How

How to Hide Gemini and the Upgrade Button in Google Sheets™

Hide the new Try Gemini sparkle and Google Workspace Upgrade button in Google Sheets™ with a current, backward-compatible Stylus CSS snippet.

Travis

Travis

Veröffentlicht

2 Min. LesezeitAktualisiert

Google Sheets™ places its AI assistant and premium-plan promotion directly in the top toolbar. If you do not use them, the Try Gemini sparkle and Upgrade button can take up space you would rather keep for your spreadsheet controls.

The current Try Gemini control uses this compact four-color sparkle:

Some accounts may still show an older blue Gemini icon or a larger Ask Gemini button.

You can hide the Gemini and Upgrade controls with the Stylus browser extension, which applies your own CSS to a website.

Important: This method only hides the buttons in your browser. It does not disable Gemini, cancel a subscription, or change your Google Workspace account. Google can rename its internal page elements, so the CSS may need another update after a Sheets interface change.


Step 1: Install Stylus#

Disclaimer: We are not affiliated with the Stylus extension or its developers. Stylus is a third-party browser extension.


Step 2: Create a Style for Google Sheets#

  1. Open a spreadsheet in Google Sheets™.
  2. Click the Stylus icon in your browser toolbar, then select Manage.
  3. Click Write new style.
  4. Under Applies to, choose URLs starting with.
  5. Enter this URL:
text
https://docs.google.com/spreadsheets/
  1. Paste this CSS into the editor:
css
/* Hides older and current Gemini buttons */
.appsElementsSidekickEntryPointRoot,
.appsElementsSidekickAuroraEntryPointRoot,
#docs-sidekick-gen-ai-promo-button-container {
    display: none !important;
}

/* Hides the Google Workspace premium "Upgrade" button */
#workspace-onegoogle-pep-container {
    display: none !important;
}
  1. Name the style Cleaner Google Sheets, click Save, and make sure Enabled is checked.
  2. Refresh the spreadsheet.

What Each Selector Hides#

SelectorGoogle Sheets control
.appsElementsSidekickEntryPointRootOlder Ask Gemini toolbar button
.appsElementsSidekickAuroraEntryPointRootCurrent compact Try Gemini sparkle
#docs-sidekick-gen-ai-promo-button-containerContainer for the current Try Gemini sparkle
#workspace-onegoogle-pep-containerGoogle Workspace premium Upgrade button

Keeping both the older and current Gemini selectors helps the style work across different Google Sheets interface rollouts.


Troubleshooting#

Gemini or Upgrade Is Still Visible#

Save the style, confirm it is enabled, and refresh the spreadsheet. Also confirm that the style applies to URLs starting with https://docs.google.com/spreadsheets/.

The current Gemini and Upgrade selectors were verified in Google Sheets on July 22, 2026. If Google changes its interface again, inspect the visible button in browser developer tools to find its new container class or ID.

Stylus Does Not Appear in the Toolbar#

Open your browser’s extension menu and pin Stylus to the toolbar. In Chrome, click the extensions icon, find Stylus, and select the pin icon.


Declutter Other Google Workspace Editors#


Prefer Tools That Only Act When You Ask?#

If you are hiding upgrade prompts in Sheets, you probably want an interface that stays quiet until you need it. Our free add-on works that way by design.

Text To Table Converter

Add-on kostenlos holen

Text To Table Converter

AI on your terms — Text To Table Converter: tables, OCR, mail merge, and writing tools in a sidebar you open deliberately. No floating buttons, and AI runs only when you click.

Kostenlos installieren

Hat das Ihr Problem gelöst?

Weiterlesen