colby.campthe little toolbox
← Back to tools

A USEFUL LITTLE THING / 002

Encoding & Decoding.

Text in, encoded text out. And back again.

Up to 200,000 characters. Encoding is not encryption.

Formats & limitations

Base64 encodes UTF-8 text, not arbitrary files. Decoding requires standard Base64 with correct padding; ASCII spaces and line breaks are ignored. Invalid UTF-8 is rejected. Encoding replaces isolated Unicode surrogates with the Unicode replacement character.

URL mode uses encodeURIComponent/decodeURIComponent on a single component. It does not encode an entire URL or treat “+” as a space. Malformed escapes are reported without changing your input.