{ }jsonkitOpen

Encoding and hashing tools

Encoding changes how data is represented so it can pass through a channel that only accepts certain characters. It is fully reversible and keeps nothing secret. Base64 (RFC 4648) maps bytes to 64 ASCII characters so binary data fits into JSON, email or HTML. Its URL-safe variant, Base64url, swaps + and / for - and _ so the result can sit in a URL or a JWT. Percent-encoding (RFC 3986) escapes reserved characters in URLs, a data URI (RFC 2397) inlines a whole file into a link, and JSON string escaping uses backslash sequences such as \n and \u00e9.

Text itself is an encoding. One visible character can be several Unicode code points, one code point can be up to four UTF-8 bytes, and characters outside the Basic Multilingual Plane become surrogate pairs in UTF-16. Invisible characters such as zero-width spaces and bidirectional controls can make two different strings look identical.

Hashing is different. A hash function such as SHA-256 produces a fixed-length digest that cannot be reversed. It is used to verify integrity or detect changes. MD5 and SHA-1 are still common for checksums but are no longer collision-resistant, so avoid them for security. To hash JSON reliably, canonicalize it first (RFC 8785) so key order and whitespace do not change the digest. All of these tools run in your browser.

8 tools · updated 2026-10-01

All Encoding & hashing tools

Related guides