You need a different backup method depending on whose comments you want to preserve:

  • Comments you wrote: use Google Takeout and YouTube Comment History.
  • Comments and replies on a video or channel: use the YouTube Data API, then paginate through the results.
  • A moderation or support record: preserve the text, author, video details, direct link, replies, status, and capture time.

That distinction prevents a personal account export from being mistaken for a channel-wide comment archive.

Want a broader YouTube profile archive instead of a one-off comment file? SocialGuardian lists YouTube among its supported platforms, keeps the archive private to your account, and says you can export the full archive anytime (see the archive option). Start your backup

1. Choose the record you need to preserve

Start by answering one question: are you preserving your own public comments, or the audience comments on videos you manage or are reviewing?

YouTube's Comment History lets you view public comments you have left across YouTube and open the original place where a comment was posted by clicking or tapping its content (YouTube Help). That is useful for finding your own comments and their original context.

Google Takeout is the account-level route. A comparison of export methods distinguishes it from a video or channel export: Takeout exports comments you wrote, not comments other viewers left on your videos (export-method comparison).

For audience comments, use the YouTube Data API's commentThreads.list. It can filter by a videoId or by allThreadsRelatedToChannelId (YouTube Data API).

2. Back up comments you wrote with Google Takeout

Use this workflow for a personal comment archive:

  1. Open takeout.google.com.
  2. Deselect all products, then select YouTube and YouTube Music.
  3. Under YouTube, select comments in the data options.
  4. Choose the export format and file size, then create the export.

These steps come from the reviewed comment-only Takeout workflow (export-method comparison). Google also documents the general flow: sign in, open Google Takeout, uncheck products you do not want, optionally narrow a product with All data included, and select Next step (Google Takeout Help).

Takeout offers delivery by email or cloud storage, one-time or scheduled exports, ZIP or TGZ files, and an archive-size limit (Google Takeout Help). Google says archive creation can take from a few minutes to a few days, most people receive the link the same day, and larger downloads can be split into multiple archives (Google Takeout Help).

Record the export request date and the date you received or downloaded the archive. Google warns that the data file may not include changes made between the download request and archive creation, so treat each Takeout as a snapshot (Google Takeout Help). Downloading the data does not delete it from Google's servers (Google Takeout Help).

3. Export comments from a video or channel with the YouTube Data API

For comments left by other viewers, build the archive around commentThreads.list:

  1. Choose videoId for one video's threads, or allThreadsRelatedToChannelId for threads associated with a channel.
  2. Request a page with maxResults from 1 to 100.
  3. Follow nextPageToken until there is no next page.
  4. Store the returned items and the response's pageInfo, including totalResults and resultsPerPage.
  5. If needed, use searchTerms to restrict results to comments containing specified terms, and choose textFormat as html or plainText.

The filters, page size, pagination fields, search filter, and text formats are documented in the YouTube API reference (commentThreads.list). Keeping the page token and totals with the export gives you evidence of how much data the run covered, rather than only a pile of comment rows (commentThreads.list).

Check access before calling the result complete. The API documents a commentsDisabled 403 when a video has disabled comments and an insufficient permissions error when the request lacks permission (commentThreads.list). Record those failures alongside the archive and label the affected video or channel as incomplete.

Each commentThreads.list call costs 1 quota unit. Additional page requests incur the method cost, and projects enabling the YouTube Data API have a default allocation of 10,000 units per day for all other endpoints; daily quotas reset at midnight Pacific Time (YouTube quota guide).

If you want a recurring public-profile archive rather than manually assembling every export, SocialGuardian says its automated backups run every day and include content and engagement across supported platforms, including YouTube (SocialGuardian). Set up a profile backup

4. Preserve replies and moderation context

A top-level thread response is not a guarantee that every reply is present. A preservation guide notes that complete reply retrieval can require comments.list, and recommends preserving the parent relationship (comment preservation guide).

Use this reply workflow:

  1. Save the top-level comment and its comment ID from the thread record.
  2. Call comments.list with that comment ID as the parentId.
  3. Request up to 100 results per page and follow pageToken for additional pages.
  4. Store each reply with the parent comment ID.

The YouTube API documents parentId, a page size of 1 to 100, and pageToken pagination for comments.list (comments.list). It also states that YouTube currently supports replies to top-level comments; replies to replies may be supported in the future (comments.list).

For authorized requests, commentThreads.list can filter moderationStatus as heldForReview, likelySpam, or published; the default is published (commentThreads.list). Save that status with the capture time when moderation context matters. Do not label a run complete when the API reports disabled comments or insufficient permissions (commentThreads.list).

5. Build an archive that remains useful

A comment row without its video and thread context is difficult to review later. A preservation checklist recommends keeping:

  • Comment text
  • Visible author name
  • Video title
  • Direct comment link
  • Capture date
  • Surrounding replies and issue status when the record is for support

Those fields come from a practical comment-preservation guide (comment preservation guide). For API exports, add the comment ID, parent comment ID, request filter, page tokens, and response totals so the relationship and collection scope remain visible (commentThreads.list; comments.list).

Choose CSV or JSON

  • CSV: choose it when the archive is mainly for spreadsheet sorting and sharing (export-method comparison).
  • JSON: choose it when you need hierarchical comment-thread structure and metadata for programmatic processing (export-method comparison).

If you use CSV, keep the parent comment ID in its own column. If you use JSON, retain the thread and reply relationship in the structure. In either format, keep the direct link and capture date with the record (comment preservation guide).

YouTube creates a highlighted comment link when you click or tap a comment timestamp; the resulting address-bar link points to that comment and its thread (YouTube Help). To check a saved link, open it in a private window and confirm that the target thread is highlighted rather than only the video opening (comment preservation guide).

For an API run, compare the saved item count with pageInfo.totalResults, keep resultsPerPage, and retain nextPageToken while more pages exist (commentThreads.list). For replies, repeat the same check using comments.list pagination and the parent ID (comments.list).

6. Make the backup routine repeatable

A practical policy has three parts:

  1. Choose the scope: Takeout for comments you wrote; the API for video or channel threads.
  2. Choose the cadence: Takeout supports one-time and scheduled exports, so use a scheduled export when a single snapshot is not enough (Google Takeout Help). For API jobs, document whether each run is daily, weekly, or tied to a moderation or publishing event.
  3. Verify every run: record the capture time, page totals, pagination evidence, access failures, and at least one permalink check (Google Takeout Help; commentThreads.list; comment preservation guide).

A backup preserves what was captured at that time. YouTube says a personal comment will not appear in Comment History if it was posted on a deleted video or removed by YouTube for a policy violation (YouTube Help). That makes capture time and scope important when you need a historical record.

SocialGuardian says you can share a public @handle, have content archived automatically, and download or restore it without a password or login (SocialGuardian). Start with a public profile

FAQ

How do I back up YouTube comments?

Use Google Takeout for comments you wrote. Use commentThreads.list for comments associated with a video or channel, paginate with nextPageToken, and use comments.list with parentId when you need to retrieve replies (export-method comparison; commentThreads.list; comments.list).

Can I export all comments from a YouTube video?

You can request a video's comment threads with videoId, request up to 100 results per page, and follow nextPageToken. Check for disabled comments or permission errors before calling the archive complete (commentThreads.list).

Does Google Takeout export comments on videos I do not own?

The reviewed export comparison says Takeout exports comments you wrote, not comments other viewers left on your videos. Use the YouTube Data API for video or channel comment threads instead (export-method comparison; commentThreads.list).

How do I preserve YouTube comment replies and moderation context?

Retrieve the thread, then use comments.list with the top-level comment as parentId, follow pagination, and preserve the parent relationship. For authorized requests, save moderationStatus such as heldForReview, likelySpam, or published (comments.list; commentThreads.list).

Should I save YouTube comments as CSV or JSON?

Use CSV for spreadsheet sorting and sharing. Use JSON for hierarchical thread structure and metadata used in programmatic processing (export-method comparison).

Can the YouTube API retrieve every reply in a thread?

Do not assume one commentThreads.list response contains every reply. Use comments.list with parentId and follow pageToken pagination; YouTube currently documents replies to top-level comments (comment preservation guide; comments.list).

How often should I back up YouTube comments?

Choose a documented cadence that matches how quickly the comments or moderation record changes. Google Takeout supports one-time and scheduled exports, while an API workflow should record whether each run is daily, weekly, or event-based (Google Takeout Help).

Can I recover YouTube comments after they are deleted?

Preserve a copy before deletion and retain its text, author, video title, direct link, replies, and capture date. YouTube says a comment on a deleted video or a comment removed for a policy violation will not appear in Comment History (comment preservation guide; YouTube Help).