How to save a Gemini response as a PDF
If the response already belongs in a Google Doc, keep it there and download the document as PDF. Use the Markdown converter when you have plain Markdown and want to style it or share just one answer without creating a new Doc.
If the answer is in Gemini on the web
When Share and export → Export to Docs is available below the response, it creates a new document in Drive. Open that document, review the content, and choose File → Download → PDF Document. Export options depend on your account and Workspace settings. See Google’s Gemini export instructions.
If the answer is in the Google Docs side panel
Use the side panel’s Insert control to put the result into the document. Decide whether the PDF should include the whole document or just the suggested text. For just the suggestion, move it into a separate Doc before downloading. See Google’s guide to Gemini in Docs.
If you have Markdown or want to preserve a code example
Check the copied text before converting. A formatting preview in Gemini doesn’t guarantee the clipboard contains Markdown. Look for heading markers, pipe-delimited tables, and fenced code. If these are missing, request plain Markdown or add the structure yourself.
## Status filter
```javascript
const open = tickets.filter(ticket => ticket.status === "open");
```Paste the example into the Markdown-to-PDF converter. A separate code block should appear below the title. Keep the language label on the opening fence for highlighting and check that long lines fit the downloaded page.