How to keep citations, code and formatting when you export NotebookLM
Exports often strip NotebookLM’s citations and flatten its formatting. Here is why, and how to keep every one of them.
Most export methods lose citations and formatting because they only capture plain text. To keep them, use the free NotebookLM to PDF extension: it reads the rendered answer and preserves the numbered citation markers, code blocks and headings in place — exporting to PDF, Word or Markdown, all locally in your browser.
NotebookLM gives every answer real structure: numbered inline citations that point back to your sources, code in proper blocks, and headings that organize a report. Lose those and you are left with a flat wall of text. The good news is that the loss is avoidable. It happens because of how you export, not because the content cannot survive.
What usually breaks, and why
Three things tend to go missing. Each has a specific cause, and once you know the cause the fix is obvious.
1. Inline citations vanish
NotebookLM adds small numbered markers to its answers that point to passages in your uploaded sources. When you copy-paste, those markers are usually dropped — they are part of the rendered interface, not the plain text your clipboard grabs. The browser’s print dialog can drop them too, or push them off the edge of the page. Either way, the claim survives but the evidence behind it does not.
2. Code loses its formatting
Code needs monospacing, line breaks and indentation to stay readable. Copy-paste into a normal document often collapses it into a single proportional-font paragraph; a screenshot keeps the look but kills the selectable text. Either way you can no longer copy a clean snippet back out.
3. Headings and structure get flattened
A generated report leans on headings, lists and reading order to make sense. Plain-text grabs strip the heading levels, so every line ends up the same weight and the hierarchy disappears. The words are all there, but the shape that made them scannable is gone.
How a proper export keeps each one
A dedicated export reads the answer as it is rendered on the page, not as raw clipboard text. That single difference is what keeps the details intact:
- Citations stay in place — the numbered source markers are kept exactly where NotebookLM put them, so each claim still shows what it is based on.
- Code stays formatted and selectable — blocks keep their monospacing, indentation and line breaks, and you can still copy snippets straight out of the file.
- Headings and structure survive — heading levels, lists and reading order carry over, so a report still reads like a report.
- Text remains real text — because the export is not an image, you can search, highlight and copy from the finished file.
The do-it-right procedure
- Install the extension. Add NotebookLM to PDF from the Chrome Web Store. It is free, needs no account, and stays idle until you open NotebookLM.
- Open the answer or report. Go to notebooklm.google.com and open the chat, note or report you want to keep — the one with the citations and code you care about.
- Export instead of copy-paste. Use the export button the extension adds and choose PDF, Word or Markdown. Skip the clipboard and skip the print dialog — those are where the citations get lost.
- Open the file and confirm. The file renders locally and downloads in a second or two. Open it and check the markers, code and headings are all where they should be.
The citation markers are preserved as visible references, not as live links. A static exported file cannot link back into your private notebook or its sources — those live behind your NotebookLM login. So you keep every marker in place and can read exactly which source each claim points to, but clicking one will not jump into your notebook. That is a limit of any static file, not of the export.
Verify your export in ten seconds
- Are the numbered citation markers still next to the claims they belong to?
- Does code still look like code — monospaced, indented, on its own lines?
- Do headings still stand out, with the report in its original order?
- Can you select and copy the text, rather than it being a flat image?
Is it private?
Yes. NotebookLM to PDF builds the file in your browser. There is no account to create and no server to send your research to — the extension reads the notebook you are already viewing, renders the export on your own machine, and hands it to you. Nothing is uploaded.
FAQ
Why do my NotebookLM citations disappear when I copy-paste?
Copy-paste grabs the plain text of an answer and drops the numbered citation markers, because those markers are interface elements rather than part of the underlying text. A dedicated export reads the rendered answer and keeps the markers in place.
Does code keep its formatting in the export?
Yes. Code blocks keep their monospacing, line breaks and indentation, and the text stays selectable so you can copy it straight out. It is not flattened into a paragraph or turned into an image.
Do the citation source links still work in the PDF?
The markers and their references are preserved as visible text, so you can see which source each claim points to. But a static file cannot link back into your private notebook — the markers are kept as readable references, not as live clickable links into NotebookLM.
Export your NotebookLM in one click
Free Chrome extension. PDF, Word & Markdown. Processed locally — nothing uploaded.