Create docs & code with Canvas in Gemini Apps

You can create, edit, and format a doc or code directly in the Canvas space in Gemini Apps.

Important: To use this feature, you must be signed in to Gemini Apps. Learn how to sign in to Gemini Apps.

Important: You can only edit text style and format in the Gemini web app on desktop. This functionality is not available on mobile devices.

Create a doc or code

In the Gemini web app

  1. Go to gemini.google.com.
  2. Below the text box at the bottom, tap Canvas .
  3. In the text box, enter your prompt.
  4. Tap Submit .

In the Gemini mobile app

  1. Open the Gemini mobile app .
  2. Below the text box at the bottom, tap  and then Canvas .
  3. In the text box, enter your prompt.
  4. Tap Submit .

Edit in Canvas

In the Canvas space for your prompt, you can directly edit the text or code. Changes are auto-saved.

Ask Gemini to help edit selections

  1. Go to gemini.google.com or open the Gemini mobile app .
  2. Open the chat you want to edit. 
  3. In the text box, enter a prompt for what you want updated. 
  4. Tap Submit .

Tip: To view your saved versions, at the top, click Previous Version  or Next Version .

Preview, share & more

Preview code & find errors and logs

  1. Go to gemini.google.com or open the Gemini mobile app .
  2. Open the chat with the code you want to review.
  3. At the top right, choose what you want to do:
    • To preview HTML and React web applications: Tap Preview.
    • To find errors and logs from the preview: Tap Show console .

Copy or export from Canvas

  1. Go to gemini.google.com or open the Gemini mobile app .
  2. Open the chat you want to copy or export. 
  3. At the top, tap Share .
  4. Choose what you want to do:
    • To copy the text or code: Tap Copy .
    • To open text in a new Google Doc: Tap Export to Docs
    • To open Python code in Colab: Tap Open in Colab.

Share a doc or code from Canvas

  1. Go to gemini.google.com or open the Gemini mobile app .
  2. Open the chat with the doc or code that you want to share.
  3. At the top, tap Share  and then Share .
  4. Choose how you want to share:
    • To share the link: At the top, next to the g.co/gemini/share link, tap Copy link . Then paste it where you want to share, like in a messaging app, an email draft, or a forum thread.
    • To share on an available social platform: At the bottom, tap the social platform and follow the on-screen instructions.

Related resources

Search
Clear search
Close search
Main menu
6938926774496683134
true
Search Help Center
true
true
true
true
true
5295044
false
false
false
false