Skip to main content

What is ChatGPT Code Interpreter and how to use it

The latest buzz around OpenAI’s ChatGPT chatbot is that it can now access the internet and run plug-ins. You need to be a ChatGPT Plus subscriber, but if you are, the feature is widely available, and it’s gotten a lot of people very excited. Why? Because it lets ChatGPT do a whole lot more. In fact, some of its most dedicated users are already putting it to work in new and exciting ways.

From visualizing every lighthouse in America to converting images to text and even doing some video editing, ChatGPT’s code interpreter gives it all kinds of exciting new abilities.

What is ChatGPT Code Interpreter?

The ChatGPT Code Interpreter is one of a handful of new plug-ins that you can add to the standard ChatGPT experience to augment and improve its abilities. It makes it possible to run Python code within a chat with ChatGPT, with additional options to upload and download files. You can then further adjust the code, or have ChatGPT make its own changes and suggestions.

It’s already been used to collate big collections of data, such as mapping out where every lighthouse is in America. Having it perform basic video-editing functions was particularly impressive:

Basic video editing in ChatGPT, converting uploaded GIF to longer MP4 with slow zoom: pic.twitter.com/fmCPUBkedD

— Riley Goodside (@goodside) April 30, 2023

The most used function for the code interpreter for now is data analysis, since ChatGPT can do that very quickly and with great nuance. This is helping hobbyists and professionals look at large quantities of data in new and intriguing ways, and they’re having a lot of fun with it. Ethan Mollick at OneUsefulThing had it write programs to create unique GIFs and write PDF documentation to explain its workings.

He also highlighted how ChatGPT can, with Code Interpreter, become its own data analyst. It doesn’t just extract information from data — it can decide what is important to extract from it, potentially opening up some very exciting and completely unthought-of uses for all the existing data that has been collected.

The real potential for ChatGPT’s code interpreter is likely still to be discovered. Perhaps you could find a new, novel use for it?

How do you access ChatGPT Code Interpreter?

The ChatGPT Code Interpreter is one of many plug-ins now available to ChatGPT users. However, there are still some hurdles to get over.

For starters, ChatGPT creator OpenAI restricts plug-in access to ChatGPT Plus subscribers, so you’ll need to pay the $20-a-month subscription for access. Unfortunately, that still doesn’t guarantee you access to the code interpreter, as it is slowly being rolled out to all ChatGPT Plus users.

Assuming you are one of the lucky ones with access, here’s how to use it:

Step 1: Log in to ChatGPT on the OpenAI website.

Step 2: Select Settings.

Step 3: In the bottom-left of the window, next to your login-name, select the three dot menu.

Step 4: Select the Beta features menu and toggle on Plug-ins. If you want ChatGPT to be able to access the internet too, toggle on Web browsing. Alternatively, you can also use a Chrome extension.

Step 5: Close the menu and look for the small drop-down menu under the language model selector. Select it.

Step 6: Select Plugin Store.

Step 7: Select All plug-ins.

Step 8: Search through the list for the Code Interpreter and select Install.

Now, when you interact with ChatGPT, you’ll have the option to do so with the Code Interpreter plug-in enabled.

How to use ChatGPT Code Interpreter

How you actually use the ChatGPT Code Interpreter is up to you. OpenAI says that it’s particularly good at solving mathematical problems (both quantitative and qualitative), performing data analysis and visualization, and converting files between formats. You can have it do any of these by uploading files containing the kind of data it likes to chew over to see what it comes up with.

You can give it specific parameters for what you’re looking for, or leave it more open-ended.

ChatGPT Code Interpreter AI Plugin Demo

Have a go with it and see what you come up with.

Editors' Recommendations

Jon Martindale
Jon Martindale is the Evergreen Coordinator for Computing, overseeing a team of writers addressing all the latest how to…
Copilot: how to use Microsoft’s own version of ChatGPT
Microsoft's AI Copilot being used in various Microsoft Office apps.

ChatGPT isn’t the only AI chatbot in town. One direct competitor is Microsoft’s Copilot (formerly Bing Chat), and if you’ve never used it before, you should definitely give it a try. As part of a greater suite of Microsoft tools, Copilot can be integrated into your smartphone, tablet, and desktop experience, thanks to a Copilot sidebar in Microsoft Edge. 

Like any good AI chatbot, Copilot’s abilities are constantly evolving, so you can always expect something new from this generative learning professional. Today though, we’re giving a crash course on where to find Copilot, how to download it, and how you can use the amazing bot. 
How to get Microsoft Copilot
Microsoft Copilot comes to Bing and Edge. Microsoft

Read more
How to use Google Gemini, the main challenger to ChatGPT
The Google Gemini AI logo.

Google's Gemini AI chatbot has quickly become one of the major players in the generative AI space. Despite its rocky start, Gemini is one of the only true competitors to ChatGPT. Here's everything you need to know about it.
What is Google Gemini?
Google first introduced its AI endeavor as Bard in March 2023 in a free and experimental capacity. The chatbot was originally run on the LaMDA large language model (LLM).

In August 2023, it introduced Google Duet as an enterprise option featuring AI-inundated Workspace apps, including Gmail, Drive, Slides, Docs, and others.

Read more
GPTZero: how to use the ChatGPT detection tool
A MidJourney rendering of a student and his robot friend in front of a blackboard.

In terms of world-changing technologies, ChatGPT has truly made a massive impact on the way people think about writing and coding in the short time that it's been available. Being able to plug in a prompt and get out a stream of almost good enough text is a tempting proposition for many people who aren't confident in their writing skills or are looking to save time. However, this ability has come with a significant downside, particularly in education, where students are tempted to use ChatGPT for their own papers or exams. That prevents them from learning as much as they could, which has given teachers a whole new headache when it comes to detecting AI use.

Teachers and other users are now looking for ways to detect the use of ChatGPT in students' work, and many are turning to tools like GPTZero, a ChatGPT detection tool built by Princeton University student Edward Tian. The software is available to everyone, so if you want to try it out and see the chances that a particular piece of text was written using ChatGPT, here's how you can do that.
What is GPTZero?

Read more