Copyright Engine
  • Monitoring
  • DMCA Takedowns
LoginStart my copyright
Copyright Engine

Any questions?

We're available Monday through Friday from 9am - 6pm CST

Product

  • Registration
  • Monitoring
  • DMCA Takedowns

Company

  • About
  • Contact

Resources

  • Blog
  • FAQ

Legal

  • Terms of Service
  • Privacy Policy
  • Legal Services Agreement

Copyright Engine provides information and software only. Use of Copyright Engine is subject to our Terms of Service, and Privacy Policy.

The Applicable Fees will be based on the specifics of your application but generally range from $44 and $125 and will be charged and collected at checkout.

  1. Home|
  2. Resource Center|
  3. Software and digital|
  4. How to Submit Source Code as a Copyright Deposit (Trade Secret Redaction)

How to Submit Source Code as a Copyright Deposit (Trade Secret Redaction)

Written byCopyright Engine

Published on November 20, 2026

Estimated Read Time: 8 minutes

Table of Contents

Do You Need to Send the Full Source Code to Register Software?Can You Hide Trade Secrets When Submitting Source Code to the Copyright Office?The deposit options when your code has trade secretsHow Do You Redact Source Code for a Copyright Deposit?Step 1: Find the code that is actually secretStep 2: Print or export the correct pagesStep 3: Black out the protected sectionsStep 4: Check the proportionsWhat Format Should a Redacted Source Code Deposit Be In?Which Pages Does the Copyright Office Require If the Secrets Are in the Middle?What Happens After You Submit the Deposit?Your Next Step: Prepare a Redaction Plan Before You Open eCO
How to Submit Source Code as a Copyright Deposit (Trade Secret Redaction)

Table of Contents

Do You Need to Send the Full Source Code to Register Software?Can You Hide Trade Secrets When Submitting Source Code to the Copyright Office?The deposit options when your code has trade secretsHow Do You Redact Source Code for a Copyright Deposit?Step 1: Find the code that is actually secretStep 2: Print or export the correct pagesStep 3: Black out the protected sectionsStep 4: Check the proportionsWhat Format Should a Redacted Source Code Deposit Be In?Which Pages Does the Copyright Office Require If the Secrets Are in the Middle?What Happens After You Submit the Deposit?Your Next Step: Prepare a Redaction Plan Before You Open eCO

Key Takeaways

  • Submit the first 25 and last 25 pages, with trade secret sections blacked out and less than half of each page blocked.
  • Use a true PDF redaction tool, then try to select the blacked-out text to confirm the characters are really gone.
  • If your secrets sit mid-program, the first and last 10 pages with no redaction is often the simplest option.
  • Keep blocked lines in place instead of deleting them so the examiner can see the code's proportions.
  • Store an unredacted copy of the registered code plus your redacted deposit so you can prove what you registered.

Learn how to redact source code for copyright deposit: which pages the Copyright Office wants, how to black out trade secrets properly, and how to upload the PDF.

To redact source code for copyright deposit, you submit the first 25 and last 25 pages of your code and black out the trade secret sections, as long as the blocked-out portions are smaller than what remains visible. Save the pages as one PDF with the program's title on them, then upload it in eCO with your application.

Registration doesn't require you to hand the Copyright Office your whole codebase. The Office only needs enough of the work to identify it and see that it contains copyrightable authorship. That's what makes redaction possible, and it's why you can register software without publishing your crown jewels.

The catch is that the rules are specific. Block out too much, or the wrong pages, and an examiner will write back asking for a new deposit. Here's how to get it right the first time.

Do You Need to Send the Full Source Code to Register Software?

No. For most programs, the Copyright Office asks for identifying portions only: the first 25 and last 25 pages of the source code. If the program is shorter than 50 pages, you'd send the whole thing.

Why those pages? The beginning of a program usually shows its structure, headers and author notes, and the end shows how it wraps up. Together they give an examiner a fair sample of the work. A page count of 50 total is far easier to review than hundreds of thousands of lines.

If you want the general rules on what a deposit copy is and which kinds of works need one, our guide to what a deposit copy is and what you need to submit covers it. This article sticks to the redaction mechanics.

Can You Hide Trade Secrets When Submitting Source Code to the Copyright Office?

Yes, with limits. The Office has long recognized that some programs contain trade secret material, such as a proprietary algorithm or hard-coded credentials, and it offers special deposit options for that situation. The registration is public record, and deposits can be inspected at the Office or requested under certain conditions, so you shouldn't treat the deposit as a vault.

If you're still deciding whether registration or secrecy is the better protection for your code, read trade secret versus copyright for source code first. Many developers do both: register the copyright and keep the sensitive logic redacted.

The deposit options when your code has trade secrets

The Copyright Office's guidance for programs containing trade secrets gives you a few routes. You pick one, and your choice depends on how much of the code is sensitive:

  • Redacted first and last 25 pages. Submit the first 25 and last 25 pages with the trade secret portions blocked out. The blocked-out sections must be proportionally less than the material left visible.
  • First and last 10 pages, no redaction. Submit just the first 10 and last 10 pages of source code with nothing blocked out. This works well when the secrets sit in the middle of the program.
  • Object code plus a sample. Submit the first 25 and last 25 pages of object code, plus any 10 or more consecutive pages of source code with no blocks.
  • Short programs. If the program is under 50 pages, submit all of it with the trade secret portions blocked out.

These options are summarized from the Office's current guidance, and the details can change, so check the official deposit requirements for computer programs before you prepare your file.

How Do You Redact Source Code for a Copyright Deposit?

Think of it as photocopying a document and taking a black marker to it. The goal is a page where an examiner can see that code exists, can see roughly where it was, and can't read the protected parts. Here's the process.

Step 1: Find the code that is actually secret

Don't redact by instinct. Go through the pages you'll submit and mark only what truly qualifies: a unique algorithm, proprietary formulas, API keys, passwords, or business rules a competitor could use. Boilerplate, imports and standard library calls aren't secrets, and blacking them out wastes your redaction budget.

Step 2: Print or export the correct pages

Pull the first 25 and last 25 pages of the source in the order they appear in the program. Use a readable monospaced font, and keep line breaks and page order intact. Include the pages that carry your copyright notice or title block if the code has them, because they help the examiner connect the deposit to your application.

Step 3: Black out the protected sections

Use solid black bars. People searching how to blank out source code, Copyright Office style, often get this step wrong. Do this in a PDF editor with a true redaction tool, not by drawing a black rectangle on top of the text. A rectangle sits above the text layer, and anyone can select, copy or delete it to reveal what's underneath. A real redaction tool removes the underlying characters when you apply it.

Don't delete lines either. Blocked-out lines should still occupy their place on the page, so the examiner sees that code was there and can judge the proportion.

Step 4: Check the proportions

Count roughly how much of each page is blocked versus visible. If the blocked-out material is more than the visible material, the Office may reject the deposit. When your secrets are too extensive for the redacted option, switch to the first and last 10 pages with no redaction, or the object code option.

What Format Should a Redacted Source Code Deposit Be In?

A single PDF is the safest choice. You'll upload it through the Office's electronic system, eCO, alongside your application, which costs $45 for a Single Application or $65 for the Standard Application, depending on your eligibility.

Before you upload, run through this checklist:

  1. Flatten the redactions. Apply them, save a new file, then open it and try to select the blacked-out text. If you can highlight anything, the redaction didn't work.
  2. Label the deposit. Make sure the program title appears on the pages, matching the title on your application.
  3. Keep the page order. First pages first, last pages after them.
  4. Strip hidden metadata. Check document properties and comments for stray text from your editor.
  5. Name the file clearly, something like the program title plus "deposit."

If you'd rather not troubleshoot a PDF export and an eCO upload at the same time, Copyright Engine prepares the application and walks you through the deposit before it files.

Which Pages Does the Copyright Office Require If the Secrets Are in the Middle?

This is the situation most developers actually face: the core algorithm lives in one module in the middle of the program. In that case, the first and last 10 pages with no blocking is often the cleanest answer. The Office is looking at pages that rarely contain your most sensitive logic, and you don't have to redact anything.

If the secrets run through the beginning or end, such as a header with embedded keys, use the redacted 25 and 25 option and black out those specific lines.

When you're unsure which option fits, or the code mixes open source and proprietary components, talk to a copyright attorney. This article is legal information, not legal advice, and a bad deposit can leave you with a registration you can't rely on in court.

What Happens After You Submit the Deposit?

An examiner reviews your application and deposit. If the redaction is acceptable, you get a registration. If it isn't, the examiner will write to you through eCO and ask for a corrected deposit, and you'll have a window to respond.

Keep a complete unredacted copy of the code you registered, plus your redacted version, with the date. If you ever need to prove infringement in litigation, you'll want to show exactly what the registered work contained. For the end-to-end filing steps beyond the deposit, including the application fields for software, see how to copyright source code. The broader process is laid out in the step-by-step guide to registering with the U.S. Copyright Office.

Your Next Step: Prepare a Redaction Plan Before You Open eCO

Before you start an application, spend half an hour with your repository. List the files that hold real secrets, work out which deposit option fits, and export a test PDF of the pages you'd submit. Try to copy text out of the redacted areas. If nothing comes out, you're ready to file with confidence.

Sources

  1. U.S. Copyright Office. Circular 61: Copyright Registration of Computer Programs.
  2. U.S. Copyright Office. Registration Portal.
Back to the article

Frequently asked questions

Not when you follow the Copyright Office's trade secret deposit options. The registration covers the whole program, not only the pages you submit. The deposit simply identifies the work. An improperly redacted deposit can be rejected, though, so follow the page counts and proportions the Office sets out.

Drawing a box isn't safe. The text stays underneath and can be selected, copied or deleted. Use a PDF editor's redaction function, apply it, save a new file, and then try highlighting the blacked-out area. If you can select any text, the redaction failed and the secret is still exposed.

Then you'd submit the whole program rather than first and last pages. If it contains trade secrets, you can block out those portions in the full copy. The same rule applies about leaving the blocked lines in place so the examiner can see roughly how much code was hidden.

A registration record is public, and the deposit is held by the Copyright Office, where it may be inspected or copied in limited circumstances. That's why you shouldn't put live passwords, keys or unreleased formulas in the deposit. Redact them or choose a deposit option that avoids the sensitive pages.

Yes, if they're sensitive. Comments can reveal business logic, internal URLs or credentials just as readily as code can. Review every page you plan to submit, including header blocks and configuration lines, and block out anything a competitor or attacker could use. Leave ordinary boilerplate visible so the proportions stay acceptable.

Keep reading

Trade Secret vs. Copyright for Source Code

Wondering about trade secret or copyright for code? Copyright protects what you wrote, trade secret law protects what stays confidential, and most software t…

How to Copyright Source Code

Want to copyright my source code? Protection is automatic once you write it down, but registering with the Copyright Office gives you proof and the right to…

How to Copyright a Video Game Mod

Want to copyright a video game mod? You can protect the code, art, music and level design you wrote yourself, but never the base game. Here's how to claim an…