Share a code file as a link

Upload a .js or .ts file to reshare and you get a short link, something like link.reshare.one/aB3xY9kLmn. Anyone who opens it sees your code syntax highlighted in the browser, no download prompt and no account. Files up to 50 MB, free.

This page is for the moment when mailing a source file feels wrong and a repository feels like too much: one file, one link, readable on any screen.

Drop your .js or .ts file

Free.

How it works

  1. 01

    Drop the file

    Drag your .js or .ts file into the box above, or click Choose a file.

  2. 02

    Sign in

    Google or your email, one click. Your file is held in the browser while you sign in, then the upload finishes on its own.

  3. 03

    Copy the link

    You land on your dashboard with the link ready. Paste it in a code review, a chat, an email, anywhere.

What the viewer sees

The link opens as a page of highlighted code: keywords, strings, and comments in color, in a monospaced font, scrollable on a phone. The person you send it to reads it in the browser instead of downloading a file their computer may not know how to open.

The original bytes stay one address away at link.reshare.one/raw/ followed by your slug, which is handy for curl or for pulling the script straight into another page.

Update the file, keep the link

Replace the file anytime and the same link shows the new version. Every earlier version stays in the file’s history, and you can roll back to one from your dashboard. The link you pasted into a review last week keeps pointing at whatever you decide is current.

When the code should not be public

A link opens only for people who have it: reshare tells search engines not to list your links, and every address is long and random. When that is not enough, add a password, limit viewing to specific email addresses, set a date the link turns off, or flip it off yourself. The file stays yours either way.

Your AI can post code here too

Connect an assistant like Claude to reshare once and it can publish code straight to your account: ask for a script and the reply includes a link you can send. The file lands in the same dashboard as your manual uploads, with the same history and controls.

Related