• GPT Hacks
  • Posts
  • ChatGPT Code Interpreter Top Use Cases 🚀

ChatGPT Code Interpreter Top Use Cases 🚀

10 business use cases for ChatGPT code interpreter and how to get access.

Big news for ChatGPT Plus users. 🎉 

OpenAI (maker of ChatGPT) just announced that all ChatGPT Plus users will now get access to Code Interpreter.

I was lucky enough to get early access to code interpreter when it was first released, and have been consistently using it ever since.

Let’s take a look at 10 business Code Interpreter use cases and how to turn on Code Interpreter in ChatGPT.

🔄 See my previous article on ChatGPT Code Interpreter for my initial take on it and more use cases.

A message from our sponsor, Capsule

Capsule CRM logo

Capsule is my go-to CRM. I’ve used them for years for small and large companies and am using them right now for GPT Hacks to track sponsors and affiliates we are working with.

They have a generous free tier which is great if you are just getting started, and a 14-day free trial for all of their plans.

Recently they added new AI features to help you with creating sales emails directly in Capsule, which is neat. If you are looking for a lightweight but feature-rich CRM check them out.

🤷 Why is Code Interpreter a big deal?

ChatGPT is a very powerful tool, but it does have a few limitations. The most noticeable ones include its inability to browse the web and its knowledge cut-off as of September 2021. Additionally, there are a few others to be aware of:

  1. You can’t upload a file to ChatGPT

  2. ChatGPT won’t generate files for you to download

  3. ChatGPT can write code, but it won’t actually execute (run) the code

Code interpreter addresses these 3 limitations, which opens up a world of very valuable use cases that you can now do with code interpreter.

🚀 Top 10 things you can do with ChatGPT Code Interpreter

1. Analyze data

One of the most useful use cases and the one I use most often, is the ability to upload a data file (CSV, JSON, XLS, etc.) and then ask ChatGPT to analyze it for you.

You can start with a very basic prompt:

The data I uploaded are survey results from subscribers to my newsletter. Can you please analyze the data and give me any insights and patterns you can derive from it?

You’ll be surprised how good it is at just interpreting a data set and giving you useful information. From here, you can now ask more detailed questions about your data.

2. Create charts

Similar to the previous use case. Once you upload a data file to Code Interpreter, you can ask ChatGPT to create charts and visualize the data for you.

Again, a very basic prompt can go a long way to start:

The data I uploaded are survey results from subscribers to my newsletter. Can you please visualize the data into useful charts?

Here is one of the many charts it created:

This is a very simple example. You can upload very large data sets and ask for scatter plots, standard deviation diagrams, and much more.

3. Edit files

With the file upload capabilities, you are now able to ask ChatGPT to edit files for you. A few ideas you can try:

  • Merge two data sets.

  • Correct factual errors.

  • Remove duplicate records.

  • Change the tone of a document.

  • Fix grammar and spelling errors.

  • Translate the document into other languages.

  • Summarize files into shorter, more concise versions.

  • Generate different creative text formats of text content, like poems, code, scripts, musical pieces, emails, letters, etc.

4. Do really complex math

Since the code interpreter plugin gives ChatGPT access to a coding environment that allows it to run live Python code for you, it can now handle much more advanced math problems, equations, and formulas.

5. Make a video from an image

This is a really fun one. Take an image and ask ChatGPT to create a video by zooming into a specific part of the image and then spanning across the image. It makes for much more appealing social posts.


Convert this panoramic image into a 3:2 aspect ratio video. Fill the video with the image, cropping as needed. Pan smoothly from center to right, back to center, to left. Use the imageio library, save directly to a video file, and use a frame step of 8 pixels. Crop the image to a size divisible by the frame step.

Pro tip: you can also ask for an animated GIF version of the video.

6. Watermark an image or video

Notice something on the bottom right side of the Gif above?

You can ask ChatGPT to add a watermark to an image, video, or Gif. You can either ask it to include a specific text or upload an image and ask ChatGPT to use it as a watermark.


Add this image as a watermark to the animated gif. Make it 25% the size of the frame and put it in the bottom right corner, leave about 4% of margin between the image and the corner of the frame.

7. OCR (pull data from) a document

It’s wild to think that a few years ago, while being the CTO of eCapital, I was assessing various technologies we could use to help us OCR documents to streamline parts of our operations, and now, ChatGPT has OCR capabilities!

While it won’t streamline the back office of an entire company just yet, that will come with time as code interpreter capabilities get added to the ChatGPT API. It is very handy if you have a few documents you want to extract data from very quickly.

Not only can you extract the text, but you can also ask for a summary or other questions about the data that is extracted. All you have to do is upload a document and start with this prompt:

OCR and extract all text from the attached document. Also, provide an executive summary to introduce the data you extract.

8. Upload a PDF and ask questions

I have to start with a warning before getting into this tip… please do not use this feature to replace any sort of legal, financial, or critical advice. It’s a useful feature, but know that Code Interpreter is in Beta, and ChatGPT as a whole is still very much in its infancy. Stay safe out there!

You can upload a document to ChatGPT Code Interpreter and then ask questions about the document or ask it to do something with the file.

Here are some example prompts of what you can do:

  1. What am I missing?

  2. What am I committing to?

  3. Can you explain section 4.3?

  4. What’s the cancellation policy?

  5. Can you translate it into English?

  6. What are the highlights of the document?

  7. Give me a bulleted summary of the document.

  8. What are the termination clauses of the document?

9. Extract a color palette from an image

You can upload an image and ask ChatGPT to put together a color palette for you based on the image. Use the prompt below and get an already formatted color palette chart that you can share with your team.


Using the attached image, please create a color palette consisting of the dominant colors. Display the palette as a chart with two rows. For each color, provide a sample and its corresponding hexadecimal color code directly on the chart. The colors should be arranged as wider blocks for easier viewing.

Color Palette from ChatGPT Code Interpreter

10. Reduce the size of an image

Sometimes you just want to reduce the size (or file size) of an image before including it in an email, on a website or some social sites that limit image sizes. You can very quickly upload the image to ChatGPT and ask it to reduce the size with this simple prompt:

Reduce the size of the image I uploaded without losing color or quality.

Before I let you go, here is how you can get ChatGPT Plus and then turn on Code Interpreter.

🤑 How do I get ChatGPT Plus?

ChatGPT Plus was already well worth the $20/month in order to get access to the GPT 4 model, plugins, and web browsing (this just got deactivated but will be turned back on soon). The addition of Code Interpreter makes it a no-brainer!

To upgrade to ChatGPT Plus on your iPhone: Tap the three dots which are located on the top right corner, go to Settings, go to Subscription.

On the web: go to chat.openai.com, click your name on the lower left corner of the screen, and then set it up via My Plan.

😎 How do I enable ChatGPT Code Interpreter?

Code Interpreter is only available on the web version of ChatGPT for now. iOS is coming soon, I am sure.

To turn it on, go to ChatGPT on the web, tap on your name on the lower left corner of the screen, then tap on settings, then tap on Beta features, then toggle the feature on.

There you have it! 10 business use cases for ChatGPT Code Interpreter you can use today. For a few more use cases, see my previous ChatGPT Code Interpreter article.

If you come across use cases that I didn’t cover in either article, please share them with me. I would love to add them to the list.

🛠️ Tools to crush your goals

  • Phonesites - build websites, landing pages, surveys, pop-ups, and digital business cards from your phone (sponsored).

  • Photo AI - upload a few selfies and create various AI-generated photoshoots (sponsored).

  • Process Street - platform to set up and manage your team’s process with the help of AI (sponsored).

  • Your product here - sponsor GPT Hacks and get your product in front of 3,000+ entrepreneurs and leaders.

📣 For more AI tools and plugins, take a look at the GPT Hacks AI Tools Directory (with 500+ tools and plugins).

📖 For your reading list

One click to signup for these emails

🔥 Feature your product on GPT Hacks

GPT Hacks is a fast-growing newsletter with over 3,000+ startup founders, business owners, and tech-savvy pros looking for products to help their businesses. Click on the button below to learn more.

⏮️ Catch up with articles from our archives:

How was today’s tip?

Rate today’s tip to help us make GPT Hacks more useful for you 🚀

Login or Subscribe to participate in polls.


Join the conversation

or to participate.