A minimalist text editor that lives entirely in your URL.
A

A minimalist text editor that lives entirely in your URL.

A minimalist text editor that lives entirely in your URL.

2,500 stars
N/A forks
N/A contributors

README

Project documentation from GitHub

A Text Editor That Lives in Your URL Bar

Sometimes the most clever tools are the ones that challenge our basic assumptions. We're used to applications taking up windows, tabs, or at the very least, a few megabytes of disk space. But what if a usable text editor needed none of that? What if it was just... a URL?

That's the exact idea behind textarea, a project by Anton Medv that shrinks a functional text editor down to a single, shareable web address. It’s a fascinating experiment in minimalism and a neat party trick for developers who appreciate clever hacks.

What It Does

In essence, textarea is a self-contained, minimalist text editor. The entire state of your document—every character you type—is encoded and stored directly in the URL's fragment identifier (the part after the #). There's no backend, no database, and no local storage. The URL is the document.

Why It's Cool

The brilliance here is in its constraints and its implementation.

  • Ultra-Portable & Shareable: Your work is instantly shareable. Just copy the URL. The person you send it to will see exactly what you see, ready to edit. It's the ultimate in collaboration with zero setup.
  • No Installation, No Login: It runs in any modern browser. There's nothing to install, no account to create, and no "save" button—editing the URL automatically "saves" your work.
  • A Clever Technical Hack: It uses the browser's built-in textarea element (hence the name) and the TextEncoder API to efficiently compress your text into a URL-safe format. The entire logic to encode, decode, and manage the editor state happens client-side with just a bit of JavaScript.
  • Surprisingly Usable: Despite the gimmick, it's a real editor. You can write notes, snippets, or even draft a short email. It's perfect for those quick bits of text you don't want to open a full app for.

How to Try It

This is the easiest part. You don't even need to clone the repo to try the concept.

  1. Head over to the live demo: https://antonmedv.github.io/textarea/
  2. Start typing in the box. Watch as the URL in your browser's address bar magically fills with encoded text.
  3. Copy that URL and paste it into another browser tab (or send it to a friend). It should load with your exact text.

To poke around under the hood or run it locally, you can check out the

Did you like this issue?

Join our weekly newsletter

Love discovering amazing projects?

Help us continue bringing you the best open-source discoveries every week.

Back to Projects
Last updated: Dec 29, 2025