Text and developer tools

Eight small developer tools and text tools for the jobs that interrupt a working day: count a draft, tidy a list, escape a link, check some JSON, make an id or read a timestamp. Each one runs in this browser tab, so your text stays on your computer.

Tools in this category

Which tool do you need?

Pick from what you hold, since developer tools are best matched to the input. A block of writing: the word counter for length and reading time, the case converter for capitals and code names, the duplicate line remover for lists. Text that must travel in a link or a header: URL encode and decode and Base64 encode and decode. A data blob that will not parse: the JSON formatter. An identifier or a time: the UUID generator and the Unix timestamp converter.

Every tool says how it decides

Small text jobs hide choices, so each page tests them and prints the result. A word is not one thing: well-known counted as 1 word and state-of-the-art design as 2. A Chinese sample of 31 characters gave 16 words where a whitespace split gives 2. Title case keeps 21 small words in lowercase and capitalizes from, over and into. Sentence case treats every full stop as a sentence end, so U.S. breaks it. The duplicate remover, with default settings, took an 8-line list down to 5 lines, and each option changes that.

None of this is hidden in settings. Read the rule that matches your job, then run the tool.

URL and Base64

URL encoding has three modes. A part of a URL escapes / ? & = : #, a whole URL keeps them, and form data writes a space as +. Encoding a%20b a second time gave a%2520b, so a link that shows %2520 was encoded twice. Decoding fails loudly: a lone % or a byte that is not UTF-8 gives a message, not a guess.

Base64 works on the UTF-8 bytes of your text. The emoji 🙂 became 8J+Zgg==, and accents, Chinese, Japanese, Arabic and Thai matched Node's output. The URL-safe form swaps + and / for - and _. A token with dots, such as a JWT, is refused until you split it and decode each part.

JSON: the formatter does not rewrite your numbers

Every error comes with a line and a column, counted from 1. In 24 invalid inputs, Chromium's own message gave a position for 16 and matched the page on 10 of them. The other 6 were 1 to 14 columns later. Minify left every number in our test line as written. A script that parses and prints it again changed seven numbers in our test line, turning 9007199254740993 into 9007199254740992 and 1.0 into 1.

UUIDs and timestamps

A version 4 UUID has 122 random bits. A version 7 UUID starts with the time, so later ids sort later as plain text. We made 1,000 version 7 ids in one click. They landed in 2 milliseconds, and sorting them as strings gave exactly the order they were made. Formats come out at 36 characters, 32 without hyphens, 38 in braces and 34 with both.

The timestamp page guesses the unit from the size of the number: under 100 billion is seconds, and each step of three digits moves to milliseconds, microseconds, then nanoseconds. A wrong guess gives a believable date, so check the year. The timestamp 1700000000 is 2023-11-14 22:13:20 UTC, and 00:13:20 on 15 November in Cairo.

How big a text can they take

We timed each tool in headless Chromium 158. The word counter took 2.2 seconds for 5 MB. The duplicate remover handled 1,000,000 lines (17.9 MB) in 8.4 seconds. URL encoding took about 3.6 seconds for 5 MB. Base64 took 10.2 seconds to encode 10 MB, and at 20 MB the tab crashed. The JSON formatter took 6.0 seconds for a 15 MB list in Minify mode. These are tested sizes, not limits, and your computer may be slower or faster.

Where your text goes

Nowhere. For each page we blocked outside connections, typed text holding a unique marker and copied the result. The only outside requests were Google's ad script and tag, which we blocked, so we cannot say what they would send. No request carried a body or the marker, and the browser stored no keys.

Frequently asked questions

Is my text uploaded anywhere?

No. These developer tools work in your browser tab, and each page reports a network test with no request carrying your text.

Why does the word count differ from Word or another site?

A word is a choice. This counter treats a hyphenated word as one and uses the browser's own splitting for Chinese, Japanese and Thai.

Why does my link show %2520?

The text was percent-encoded twice. Decode once for each time it was encoded.

Can I decode a JWT in the Base64 tool?

Not whole. A token with dots is refused. Split it at the dots and decode each part alone.

Should I use UUID version 4 or 7?

Use 7 when ids go into a database index and order matters. Use 4 when you want nothing in the id but randomness.

How do I know if a timestamp is in seconds or milliseconds?

Count the digits. Eleven or fewer is seconds, twelve to fourteen is milliseconds. The page shows all four units.

Does the JSON formatter change my numbers?

It does not round or rewrite numbers: long integers and 1.0 stay as written. It does change white space, and it writes an escape such as \u00e9 as é.

More tool categories