# Canvas

## What is the canvas feature in ChatGPT and how do I use it?

<figure><img src="https://1658924385-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWGhsAhUczkSaSqAJtQdh%2Fuploads%2FGRXmjPo5nClnti1YK90U%2Fimage.png?alt=media&#x26;token=12ff2a5f-9e4c-48f9-a405-1376aeebbefe" alt=""><figcaption></figcaption></figure>

Canvas is a new interface for working with ChatGPT on writing and coding projects that require editing and revisions.

With canvas, ChatGPT can better understand the context of what you’re trying to accomplish. You can highlight specific sections to indicate exactly what you want ChatGPT to focus on. It can also give in-line feedback and suggestions with the entire project in mind.

You control the project in canvas. You can directly edit text or code. You can use the shortcuts to have ChatGPT to adjust writing length, debug your code, and quickly perform other useful actions. You can also restore previous versions of your work by using the back button in canvas.

Please note that Canvas is not available with GPT-5 Pro.

### Canvas code execution and network access toggles <a href="#h_8f0fe14308" id="h_8f0fe14308"></a>

Please note that code execution and React/HTML rendering can result in external network requests to be made. Enterprise workspace admins can control whether canvas code execution is available for users in the workspace along with the default network access behaviors. By default, canvas code execution is turned *on* while Allow canvas code to access the network is turned *off* for enterprise workspaces but these toggles are configurable in the [Admin settings](https://chatgpt.com/admin/settings) of your workspace.

<figure><img src="https://downloads.intercomcdn.com/i/o/dgkjq2bp/1369021743/3b88c20dbd629c4a02c3449257b8/Screenshot+2025-02-06+at+12_57_57%E2%80%AFPM.png?expires=1763378100&#x26;signature=ea4881d59ba0425f3cdd2ede870c956aa824bc2a75423c2e64859459178ba96d&#x26;req=dSMhH8l8nIZbWvMW1HO4zR%2FgdzcMd7ovdkqwAyvNh51h0Wf3mL3TqxtIFEZZ%0A0DwQAZfLZSz09iYskiA%3D%0A" alt=""><figcaption></figcaption></figure>

### Accessing canvas on ChatGPT <a href="#h_dad3e549d1" id="h_dad3e549d1"></a>

ChatGPT may open a canvas when it grasps what you’re trying to accomplish. For example, you can ask ChatGPT to generate a piece of writing (eg. "let’s write a long essay about why a strawberry is a pseudocarp") or draft code for you (eg. “write a web server in python”) and it will respond with a canvas. You can typically expect ChatGPT to open a canvas automatically when ChatGPT generates content greater than 10 lines or detects a scenario where it would be helpful to have an interface for writing or code. Additionally, you can include “use canvas…” in your prompt to ask ChatGPT to open canvas.

Responses with canvas will automatically open a window on the right-hand side that contains your requested content.

You can also get started with a blank canvas with ChatGPT on web by saying things like, “open a canvas”, or “open a coding canvas”. With a blank canvas, you can work on an existing project by pasting it into the blank canvas, or by just typing in the canvas.

You can also paste content into ChatGPT and instantly open it in canvas via a shortcut in the upper right corner of the composer.

<figure><img src="https://downloads.intercomcdn.com/i/o/dgkjq2bp/1291589757/5b5551a933f31a60b091f389990f/AD_4nXemn7RQAg1fnKOZxz1451Ir2thgda3V2zgC-77oSuRJm53mEZCS8Xa_SUiZyAYCUL47tiNRZA8-NMOXt8UmLbXC-FxNNAOIiio4zYHVlwH2eMOOqJ-lcioO1Bv5DMBWlkDnxaEXYg?expires=1763378100&#x26;signature=d7a2b4c5382b80202ddd499ca2fcb6b475a6ac6a1609443c7250deafcb315be9&#x26;req=dSIuF8x2lIZaXvMW1HO4zU9zbbqxYoiclhzLPrDqokFSgvSoCqWURTlUyYJl%0AfVFhzrkcajOtGRDmE8c%3D%0A" alt=""><figcaption></figcaption></figure>

Additionally, the toolbox in the prompt composer also enables you to ask ChatGPT to create a new canvas in your prompt. This can also be triggered by typing a backslash (“/”) and then using the “canvas” command.

<figure><img src="https://downloads.intercomcdn.com/i/o/dgkjq2bp/1291589755/ec19da9a3595b8df1ca54962e1d0/AD_4nXfW4Gq1OvhAw_8G8uaTLi9ccM525YlVEnabijkT9uANaizDb8-nMCgvmJFmEhZXEk2I1qbC7sV0JBcQjUz1y65Cy9rOZZ_sOAvLwn3sC6r9gzL3uSRQnY_x6iMHGhhEqPU1zNrJ?expires=1763378100&#x26;signature=993fc57bcbb440742ef9a95d0889aab1926ca1d65810c65672233fba41b2eeba&#x26;req=dSIuF8x2lIZaXPMW1HO4zfGONb6E5V38jrlnX6NufQVQLtNFMVs%2BZcnUsZtM%0ApDeLVaflITT3okaTCo8%3D%0A" alt=""><figcaption></figcaption></figure>

### Editing your project with canvas <a href="#h_1e50e99f9e" id="h_1e50e99f9e"></a>

You can make edits with canvas by simply asking for them in the chat. Additionally, you can select part of the content by highlighting the text or use the block comment icon to select an entire paragraph block. This will open an input where you can provide guidance on what to explain or edit in the selected section.

<figure><img src="https://downloads.intercomcdn.com/i/o/dgkjq2bp/1291589741/be9e6c1549b18427a48fccbc69dd/AD_4nXdvJhiI9YzBPzG_1cUeHhvC1c_SMwtrIT9qbWmv9NdEmBPRqp8qKT9FyyOatgEec6qoWGRfMjrosZGlbwM6VSOKjuyfc2uj8B43WI_ItL4p3H3aJC_l_n00NKlYdUyISCWIPPvN?expires=1763378100&#x26;signature=3a8477f22bf2af1326b7adf3cd99b70b6d41a3fe0ad5d4310a0c4a721ed6ac05&#x26;req=dSIuF8x2lIZbWPMW1HO4zbosIjhMBdZ2ohp8gwtCSkGu%2BxTC6lqWZoDY7TCn%0AwQMKejRk1%2FGZIcxnIzg%3D%0A" alt=""><figcaption></figcaption></figure>

You can also directly edit the canvas content by clicking into the canvas and typing. Please note that only basic markdown formatting options are supported, including bold, italic, headers, bullet points, and numbered lists. We don’t currently offer more advanced formatting options in canvas.

You can get targeted comment suggestions from ChatGPT by simply selecting the Suggest edits or Review code shortcuts. By clicking on the comment bubble, you can see the specific suggestion provided by ChatGPT. You can either directly edit the flagged item and close the comment, or select Apply to have ChatGPT automatically generate content to address the comment.

<figure><img src="https://downloads.intercomcdn.com/i/o/dgkjq2bp/1291589743/a62c9fdb95258857e4e309d21c14/AD_4nXcpJtODAwsLJq4FuSecPnXvu3XJ0pqGQCccLOaDhMStRO9uF-0cQ9ymDaAMe6EA12ftNOw_1Bk_cCyQfmEPJInYwmDr_9Ij2BAUfWup4uqlEHsgsQsKj-ghpMxbFXIu5uXYN7Anfw?expires=1763378100&#x26;signature=ec667c62e92e5de1b44fc0340741847ee4ee2a90cb5a9541f1dd2970acf9217a&#x26;req=dSIuF8x2lIZbWvMW1HO4zR54uTGLbnPkJym2uNI9xJdc%2BecqTyxlrqnyQXMo%0A9MaPfOCRX4t0SGePYJM%3D%0A" alt=""><figcaption></figcaption></figure>

When working on a writing task, you also have the option to highlight specific portions of your text or code and ask ChatGPT to either request edits to that section or ask a question about it. Formatting options can also be accessed by highlighting a piece of text. Basic markdown formatting is supported, including bold, italic, headers, bullet points, and numbered lists. We don’t currently offer more advanced formatting options in canvas.

<figure><img src="https://downloads.intercomcdn.com/i/o/dgkjq2bp/1291589738/c09982bf7578c70cd267a29fd078/AD_4nXcgHNSdYtAlSz5HdfeIoDz3-tJ6UxR4ifG5tK90MSygXyzmYZHME2NfsRb45O8yC8WxFL6tEveZ5_2eGfgdDbl-u6yyrNrPazSxRtzrWw8bh8pwCl-tRCHx0LPs57iyTXownmE5?expires=1763378100&#x26;signature=33a0ecb553c45472544d3cb13f6ec2ac61f11aa2ec3dddeb9cc16032777c759e&#x26;req=dSIuF8x2lIZcUfMW1HO4zXxSi1BL6gL44k47%2F6ZTBz4Vkw%2F%2FDNFoT2boPge8%0AlofFYbKP4656hTkQAtI%3D%0A" alt=""><figcaption></figcaption></figure>

### Shortcuts on canvas for writing and coding <a href="#h_51de16d241" id="h_51de16d241"></a>

Canvas with ChatGPT provides access to a bundle of writing shortcuts that enable you to ask for suggested edits, adjust the length of the output, update the intended reading level, and add emojis or a final polish to your piece. To find these shortcuts, hover over the shortcuts menu on the bottom-right of the page.

![](https://downloads.intercomcdn.com/i/o/dgkjq2bp/1291589746/07d0be08e678d98aa3d6f153f05b/AD_4nXdtmS3_0IqTZtnDqugg984LPyeKYS6x8-ETGQSOwyOpbJVw0QpAgdoVHdXxfqt2qugF5Q2xgqG6sO4s52hq5Wt5O0EWZSn71bS9AZ_3DKxaeFpEvfrmLGWsFAFgZmc8vXBdFwpw?expires=1763378100\&signature=d1b0dc682086fa9fd83ef3a2437e8639969f5a5d95d27f8ad919f55675007e6a\&req=dSIuF8x2lIZbX%2FMW1HO4zYvqCOU1e3g9CL79NPW7ONlpzaFiIthKYs2uEJ3r%0AqfIIZNLycuX7OAlYpyo%3D%0A)

For writing documents, you can use the following shortcuts:

* Suggest edits: ChatGPT will add inline suggestions to improve your writing.
* Adjust the length: shortens or expands the length of your document.
* Change reading level: adjusts the reading level from Kindergarten to Graduate School.
* Add final polish: checks for grammar, clarity, and consistency.
* Add emojis: replaces words with emojis or adds them for extra emphasis and color.

For coding, you can use the following shortcuts:

* Add logs: inserts print statements to assist with debugging and tracking execution.
* Add comments: adds comments to explain the code and improve readability.
* Fix bugs: detects and rewrites problematic code to resolve errors.
* Port to a language: translates your code into languages like JavaScript, Python, Java, TypeScript, C++, or PHP.
* Code review: provides inline suggestions to optimize and improve your code.

Some shortcuts will immediately update the contents of your project, like Add emojis, Add final polish, Fix bugs, and Port to a language.

<figure><img src="https://downloads.intercomcdn.com/i/o/dgkjq2bp/1291589739/7e192aee5f96f05ac86351ed79df/AD_4nXd2t3LkMUKgIotwt0cl56JFExE7uXbJ3Dd7QiGtXBGekc7c2TfD2iv06501SsEByGFdvkhO5BgzeiMgoiZ-1XSRo6HkZdqt3qkorgD0IxycLo7GnQM6M5l1IhGsUYDFyZ4dJbibqg?expires=1763378100&#x26;signature=dca8c8c37f175753e1dab225c1c0102678d7df99182e9aafb8db2b2f5a582dfe&#x26;req=dSIuF8x2lIZcUPMW1HO4zcdj5z5zseU8gprl22MF6NW%2FH8AGSP1%2B0xSZPO1V%0AimHAqDl92C0jAUSEeDI%3D%0A" alt=""><figcaption></figcaption></figure>

Other shortcuts can be tweaked with a slider. For instance, the Adjust the length shortcut gives you the flexibility to select options between Shortest to Longest length. The Reading level shortcut enables you to adjust the reading level from Kindergarten to Graduate School.

<figure><img src="https://downloads.intercomcdn.com/i/o/dgkjq2bp/1291589747/b4eeafea2e12e4b8ff377fe8b87e/AD_4nXfaJMOASqOLwuCfTrbxRrI1Phf26pecP_CsP3mhVRtDJifkKsUsyjV939MmjdNDDPa0w2UZKaMb5ZJ1PRmJ6SQN1uoEZKWVnbd68gpCotIovBGE27n30-5GennM0X5S_AW-rqLuOw?expires=1763378100&#x26;signature=94fe93cd9874d5a8142897961f581fa8cfb12c88478391f947b4a0484c5092b3&#x26;req=dSIuF8x2lIZbXvMW1HO4zasv5vC9N5pY5AbWrZg7tDsqaifgSRZ2lODci7Eq%0AjrlKOhh8ooUWQMWrpzw%3D%0A" alt=""><figcaption></figcaption></figure>

### Version history and show changes <a href="#h_64b546efa9" id="h_64b546efa9"></a>

You can navigate versions of your canvas document or code by using the version history via the arrows in the top toolbar. This allows you to see previous versions as well as restore these versions if you so choose. You can also copy the contents of your project by selecting the copy button.

<figure><img src="https://downloads.intercomcdn.com/i/o/dgkjq2bp/1291589736/d106fd600cc6434db94c9518dc25/AD_4nXdIV5lFHJczmpbzsHhLSZjze-uogM2uTLvih6LnXUMbAl2shQc_riIRQU2ZBRM2G0UD0NP3Y6Vx_gThP1MPtKXD3vGsg2FJ1nmW1JYrJT-ptTP1SMqHlZOA2CrEmeNgpeFKNgik?expires=1763378100&#x26;signature=0ba4deba29932431266ce18bd2e537cf157ceb101f0c3f409bed6d96675d6619&#x26;req=dSIuF8x2lIZcX%2FMW1HO4zarDnZ4FalWYYxGYK%2BozzpF4%2BYGe8Z94FmWQn9se%0AEjEypU8hbzJi%2FWfK0gI%3D%0A" alt=""><figcaption></figcaption></figure>

Additionally, you can see changes between canvas versions by using the Show changes button at the top toolbar. This will show additions and deletions for both documents and code.

<figure><img src="https://downloads.intercomcdn.com/i/o/dgkjq2bp/1291589760/5e6a2a51082c0ed8dda950449fa6/AD_4nXfdtCtKwrGFlnJovtNiP1F3wzyEDiFrSUGQZaQGEg8roI1J9Y-KL16_9XNL6tXEB9R7X9MbwYeOtkRTcbZ9inftHV4c0ATEdAp4nMb3s8gEfojRfHLpvtn8jIgnuKb7fFD9A5B1dg?expires=1763378100&#x26;signature=b5729eb0cd8a573c07ee337b83af3a91fb9e0a10dd1f3cb26b7fa79062f8ee37&#x26;req=dSIuF8x2lIZZWfMW1HO4zYgC5sCkAdhZVnaUwspPLgbz3Ei%2BThzXdfDXR5Us%0ABZ2hnlIVDJNirhsfXfw%3D%0A" alt=""><figcaption></figcaption></figure>

### Executing Python code with canvas <a href="#h_29f6cf134e" id="h_29f6cf134e"></a>

You can execute code canvas files for Python directly on your browser when you are using canvas by selecting the Execute button in your canvas. When executing Python code, the output will appear in the console at the bottom of the screen. When there are errors that appear in the console, ChatGPT will provide a suggestion about the error – click the Fix bug button to have ChatGPT attempt to fix it for you!

<figure><img src="https://downloads.intercomcdn.com/i/o/dgkjq2bp/1291589751/c4e54bb3f8624fbb9ed345bc08be/AD_4nXcOfCgnYQOYo7fwLaXkb-QHVAOd5pBPxyTb-BDpjFPV_gGH_2I30mR0XJmmp45bp4KsjJr4neHROOmKsmSTqJfhRr-P9nREp2vjNkEn4mc-nZbqlWOaAIzb-MQpdrxMbppBHJlZ_g?expires=1763378100&#x26;signature=2a1873aebe67dd46447ccb63591089a25a74c1b1e944984da078462c60c3f236&#x26;req=dSIuF8x2lIZaWPMW1HO4zaqaOJIoes8s2%2B038qijutEC5DgyFJlMJQzm0UgR%0AieruH5gBBWDc4qCZOPc%3D%0A" alt=""><figcaption></figcaption></figure>

This feature is currently only available for Python code but we plan to extend access to other programming languages in the future.

### Enabling canvas for your GPT <a href="#h_66fad142d3" id="h_66fad142d3"></a>

Canvas now works with GPTs. You can enable canvas access to GPTs by enabling the canvas capability in the GPT Builder. This enables your GPT end users to open a canvas while having a chat with your GPT.

![](https://downloads.intercomcdn.com/i/o/dgkjq2bp/1291589754/b75e6d7ad0da5e6b8bf4d5f398ec/AD_4nXerLuu6cTEo5hWTiEeosEoERh2XDtyiPgO6EXOG2t3npyqICrVC6_ra9S4fcnQXSsB_lKrxuxIrAU4NSFVnoF1xhv8xZamjWYxDulhzorg_14EGhIVGR0MWqS297PDo_FYNn04B?expires=1763378100\&signature=c2ea8e7837d2b3457f6802ce9d914004dcb7565316d1bb28a39fca6b69c8ef8e\&req=dSIuF8x2lIZaXfMW1HO4zd7sQgSlLlgtfPb29BPSt5ui9x3eD27n06kTuvfl%0AU7eY6HdwmeFwOijjRoQ%3D%0A)

Please note that this capability is off for all existing GPTs and on by default for any newly created GPTs. You can modify this at any time in the GPT Builder.

[Learn more about the GPT Builder.](https://help.openai.com/en/articles/8770868-gpt-builder)

### Sharing a canvas with others <a href="#h_a8ace6b7c0" id="h_a8ace6b7c0"></a>

Sharing a canvas is available for all plans including Free, Plus, Pro, Team, Enterprise, and Edu.

Users can now share a canvas asset such as rendered React/HTML code, document, or code with another user, similar to how you share a conversation. You can do this from the canvas toolbar when canvas is open.

<figure><img src="https://downloads.intercomcdn.com/i/o/dgkjq2bp/1367552861/726257c5ed22fdde9f097eca6f27/canvas-sharing-short.gif?expires=1763378100&#x26;signature=816dde70006100da9f93bbf5e8a63036f9d59c64e2302e6e50e7f3d3e4c125e5&#x26;req=dSMhEcx7n4lZWPMW1HO4zZVdowEgmYo3Wp%2BrrDFeG4WEYF%2Boxx9bVVw3Jzva%0AYkSrY7ecKB8PNwxzPPs%3D%0A" alt=""><figcaption></figcaption></figure>

### Downloading your canvas file <a href="#h_47f8bb73b9" id="h_47f8bb73b9"></a>

You can now export your canvas documents in multiple formats depending on the type of content. Look for the Download button in the top-right corner of your canvas to try it out.

For general documents (like essays or blog posts), canvas supports exporting to PDF, Markdown (.md) and Word (.docx) formats.

For code-based canvases, canvas intelligently detects the language and exports it in the appropriate file extension (e.g., `.py`, `.js`, `.sql`, etc.), preserving formatting and syntax.

This feature makes it easy to archive your work, share drafts, or continue editing in external tools.

### Canvas and web safety <a href="#h_cd52fdbc16" id="h_cd52fdbc16"></a>

Canvas can preview websites and other web content. Web content is necessarily online and has the ability to communicate with third-parties that are not OpenAI.

Communication that web preview makes can be as simple as using the internet to access an image — but it can also be as dangerous as sending information you have entered or shared with ChatGPT to a third-party.

ChatGPT takes the information you provide as you talk and uses it to make informed responses. In some cases, like if you paste information from the internet, or when news or search results are retrieved, ChatGPT will use other information for its responses including in code generation with canvas.

When you interact with canvas web preview, ChatGPT will ask you to confirm communications with third-parties OpenAI doesn’t know about. If you confirm this communication, we allow the preview to communicate with that third-party.
