Drop your HTML, CSS, JS, Python, Swift, or any source files. Get back a single .txt formatted to the U.S. Copyright Office's "first 25 / last 25 pages" rule — ready to upload to the eCO portal.
This title block goes on page one of the deposit. Match what you enter on the eCO application.
Any text-based source: .html .css .js .ts .py .swift .java .go .rs .php .rb .json .md — drag a folder or click to browse.
The Copyright Office wants enough of your code to identify what you're claiming, but they don't want the whole repo. Their formula:
Submit the entire source code. This tool auto-detects this case and includes everything.
Submit the first 25 pages + last 25 pages. Roughly 1,000 lines from the start and 1,000 lines from the end (40 lines = 1 page).
Special rules apply. You can block out portions under 50% of the deposit. This tool doesn't handle blocking — consult an attorney if your code contains real trade secrets.
Include a copyright notice somewhere in your code (a comment block is fine). This tool adds a title block on page one with your program info.
The USPTO is for patents, not copyrights. Software patents have a separate process and don't usually need a code deposit. This tool is built for the U.S. Copyright Office (eCO portal).
$45 single-author, single-work online registration. File at eco.copyright.gov after generating your .txt.