/ChatGPT-pdf

A Chrome extension for downloading your ChatGPT history to PNG, PDF or a sharable link

Primary LanguageJavaScriptMIT LicenseMIT

ChatGPT export to PNG / PDF / HTML

A Chrome extension for downloading your ChatGPT history to PNG, PDF or creating a sharable link


gpt4

Why did I build it

When you want to share some of your chats, it's very difficult to snapshot the entire chat. This will add the functionality of exporting it to an image, a PDF file, or create a sharable link.

How to install it

To install ChatGPT Export, follow these steps:

  1. Download the latest release of the extension from the releases page on GitHub.
  2. Unzip the downloaded file to extract the extension files.
  3. In Google Chrome, open the Extensions page (chrome://extensions/).
  4. Enable Developer mode by clicking the toggle switch in the top right corner of the page.
  5. Click the Load unpacked button and select the directory where you unzipped the extension files.
  6. ChatGPT Export should now be installed and active on the ChatGPT website (https://chat.openai.com/chat).

How to use it

After chatting with ChatGPT, you will notice new buttons at the bottom of the page (next to "Try Again"):

image

Look for them at the bottom of the page:

image

Click them to generate a PNG, download a PDF or create a HTML of the entire chat:

Arrows2

Known issues

  • Image avatars might get distorted due to the use of html2canvas. Working on it.
  • Line height might have a small offset (again, due to html2canvas). Working on it.

Roadmap

  • Allow exporting as text
  • Allow choosing resolution / file size
  • Allow splitting to smaller partial images (for Twitter, for example)

Contribution

PRs welcome!