Developer tools
What Is This String? How to Identify Base64, Hashes, JWTs and UUIDs
A token in a URL, a value in a log, a long line of letters: learn to recognise Base64, hex hashes, JWTs, UUIDs, URL encoding and timestamps at a glance.
By TestrHub · Published November 21, 2026 · Updated November 21, 2026
In short: an unknown string gives itself away through three things: its punctuation, the characters it uses and its length. Two dots mean a web token, four hyphens a UUID, a percent sign URL encoding, a closing equals sign Base64. This guide shows what to look for and which tool reads each kind: the Base64 decoder, the URL decoder, the JWT decoder, the UUID reader, the timestamp converter and the hash generator. They all work inside your browser: what you paste is not sent anywhere.
Start with the punctuation
Read the string in this order:
- Punctuation. Dots, hyphens,
%,=,$and:are put there by the format, not by chance. They narrow the field faster than anything else. - Characters. Digits only? Digits and the letters a to f? Capitals and small letters mixed, with
+and/, or with-and_? - Length. Hashes and UUIDs have fixed lengths, and Base64 comes in groups of four characters.
The quick table
| What you see | It is probably | Read it with |
|---|---|---|
Three parts separated by two dots, starting with eyJ |
A JSON Web Token (JWT) | JWT decoder |
Letters, digits, + and /, often ending with = or == |
Base64 | Base64 decoder |
The same with - and _, usually without = |
URL-safe Base64 | Base64 decoder |
% followed by two hexadecimal digits, such as %20 or %C3%A9 |
URL encoding | URL decoder |
| 32 hexadecimal digits in five groups, 8-4-4-4-12 | A UUID | UUID reader |
Only 0 to 9 and a to f: 32, 40, 64, 96 or 128 characters |
A hash written in hexadecimal | Hash generator, to compare |
| 10 or 13 digits starting with 17 or 18 | A Unix timestamp | Timestamp converter |
Starts with { or [ |
JSON | JSON validator |
Starts with data: |
A data URL, usually holding Base64 | Base64 decoder |
Starts with $2b$, $argon2id$ or $6$ |
A password hash | Nothing: it cannot be decoded |
Starts with -----BEGIN |
A certificate or a key | Keep it to yourself if it says PRIVATE KEY |
“Probably” matters. A format is a convention, and nothing stops a program from producing 64 random hexadecimal digits that are not a hash. Each section below says how far its clue can be trusted.
Base64: the alphabet and the ending
Base64 writes every 3 bytes of data as 4 characters chosen among 64: A to Z, a to z, 0 to 9, + and /. When the data does not fill the last group, one or two = signs complete it, so = can only appear at the very end, at most twice. The URL-safe variant swaps + and / for - and _, and often leaves the = out (RFC 4648, sections 4 and 5).
The length gives the size. With its padding, a Base64 string is always a multiple of four characters long. 24 characters ending in == hold 16 bytes; 44 characters ending in = hold 32 bytes, the size of a SHA-256 hash or of a 256-bit key.
The first characters give the content away, because the same first bytes always produce the same first characters:
| Base64 starts with | The data starts with | So it is |
|---|---|---|
eyJ |
{" |
A JSON object: part of a token, a state or a session value |
iVBORw0KGgo |
The eight bytes of the PNG signature | A PNG image |
/9j/ |
FF D8 FF |
A JPEG image |
R0lGOD |
GIF8 |
A GIF image |
JVBERi0 |
%PDF- |
A PDF document |
UEsDB |
PK, then 03 04 |
A ZIP archive |
H4sI |
1F 8B 08 |
Data compressed with gzip |
PD94bWw |
<?xml |
An XML document |
MII |
30 82 |
Usually a certificate or a key in binary form |
These prefixes were computed for this guide from the signature that each format’s specification publishes; the specifications are listed at the end. The Base64 decoder tells you when the result is a file rather than text, and names the common types.
Why eyJ? A JSON object starts with {". Those two characters, followed by any letter, always encode to eyJ. That is why web tokens, whose first two parts are JSON, begin with it. It is also why a value starting with eyJ in a cookie or an address is worth decoding: anyone can read it.
When the decoder returns bytes that are neither text nor a known file, the string was still Base64. It holds binary data: a key, a hash, or compressed or encrypted content. Decoding worked; there is simply no text inside.
Hexadecimal: count the digits
A hash is a fixed-size fingerprint of some data, usually written in hexadecimal, two digits per byte. Its length points to the algorithm:
| Hex digits | Bits | Consistent with |
|---|---|---|
| 8 | 32 | CRC-32, a checksum |
| 32 | 128 | MD5, or a UUID without its hyphens |
| 40 | 160 | SHA-1, also the usual name of a Git commit |
| 56 | 224 | SHA-224 |
| 64 | 256 | SHA-256 |
| 96 | 384 | SHA-384 |
| 128 | 512 | SHA-512 |
The sizes come from the standards that define these functions: FIPS 180-4 for the SHA family and RFC 1321 for MD5. “Consistent with”, because a length never proves the algorithm: other functions share these sizes, and 32 random bytes also make 64 digits. Three things to know:
- A hash cannot be decoded. There is nothing to reverse. To find out what it is the hash of, hash your candidate and compare. In the hash generator, paste the value under Check a checksum: the tool says which of its results matches, if any.
- MD5 or UUID? Both can be 32 hexadecimal digits. Look at the 13th digit and the 17th: in a standard UUID they are the version, often
4or7, and one of8,9,aorb. Only one random string in 64 looks like a version 4 UUID by chance. - Hexadecimal can also be plain text.
636166c3a9is simply the word “café”, byte by byte.
UUIDs: two digits say which kind
A UUID is 128 bits written as 32 hexadecimal digits in five groups, 8-4-4-4-12. The first digit of the third group is the version. The first digit of the fourth group is 8, 9, a or b in every UUID that follows the standard (RFC 9562, section 4).
- Version 4 is random: there is nothing more to read in it.
- Version 7 starts with the time it was made. In the UUID of the diagram, the first twelve digits,
01a1fdfa4600, are the number 1795262400000: milliseconds since 1970, here 21 November 2026 at 12:00 UTC.
Paste any UUID under Read a UUID in the UUID generator: it gives the version, the variant and, for the versions that hold one, the date inside.
Long numbers: timestamps
Today, a number of 10 digits that starts with 17 is almost certainly a Unix timestamp: the seconds counted since 1 January 1970 at midnight UTC (POSIX, “Seconds Since the Epoch”). Ten-digit values cover September 2001 to November 2286. They begin with 17 until 15 January 2027, then with 18.
The same moment has more digits when it is counted in smaller units: 13 digits in milliseconds, the unit of JavaScript, 16 in microseconds and 19 in nanoseconds. The timestamp converter reads the unit from the number of digits and says which one it chose.
A wrong unit is easy to spot. Seconds read as milliseconds land in January 1970; milliseconds read as seconds land tens of thousands of years ahead.
Inside a JWT, the values named exp, nbf and iat are such timestamps, in seconds (RFC 7519).
Text that looks broken: one letter, six disguises
The same character can be written in many ways. Here is the letter é, which takes two bytes in UTF-8:
| You see | Where it comes from |
|---|---|
%C3%A9 |
URL encoding: one % and two hexadecimal digits per byte |
w6k= |
Base64 of the same two bytes |
=C3=A9 |
Quoted-printable, used inside emails |
é |
An escape in JSON or JavaScript |
é or é |
A character reference in HTML |
é |
Not an encoding but an error: the two bytes shown as two separate characters |
Two more cases. A %25 where you expected a %, as in caf%25C3%25A9, means the text was encoded twice: the URL decoder notices it and offers Decode again. And a domain name has a disguise of its own: café.example travels as xn--caf-dma.example. Any part of a domain that starts with xn-- is an international name in its ASCII form.
Encoded, hashed, signed or encrypted?
These four words are often mixed up, and they decide what you can do with a string.
| The string is | Can anyone read it? | What you can do |
|---|---|---|
| Encoded (Base64, hexadecimal, URL encoding) | Yes | Decode it |
| Hashed | No, and nobody can go back | Compare it with the hash of a candidate |
| Signed (a JWT in three parts) | Yes: it is only encoded | Read it, and check its signature if you have the key |
| Encrypted | Only with the key | Nothing without the key |
| A password hash | No | Nothing: only the system that made it can check a password against it |
Encrypted data has no shape of its own. It looks like random bytes, usually written in Base64 or in hexadecimal. One exception is easy to recognise: a token in five parts separated by four dots is an encrypted token, which cannot be read the way a three-part JWT can (RFC 7516).
Password hashes announce themselves. Systems store them as one line that starts with the name of the method between dollar signs: $2b$ for bcrypt, $argon2id$ for Argon2, $6$ for a SHA-512 scheme used on Linux. The line also holds the settings and a random value called the salt, so two users with the same password get different lines.
A worked example: three layers
Real values are often wrapped several times. This one is the kind of parameter a sign-in page adds to an address. It was made up for this guide:
| Step | What you have | What gives it away |
|---|---|---|
| 1 | eyJ0byI6Ii9vcmRlcnM%2FcGFnZT0yIiwiZXhwIjoxNzk1MzQ4ODAwfQ%3D%3D |
%2F and %3D: URL encoding |
| 2 | eyJ0byI6Ii9vcmRlcnM/cGFnZT0yIiwiZXhwIjoxNzk1MzQ4ODAwfQ== |
Starts with eyJ, ends with ==: Base64 of JSON |
| 3 | {"to":"/orders?page=2","exp":1795348800} |
Ten digits starting with 17: a timestamp |
| 4 | 22 November 2026 at 12:00 UTC | The moment after which the value is refused |
One tool peels each layer: the URL decoder, the Base64 decoder, then the timestamp converter. Nothing in it was ever secret. Three encodings on top of each other protect nothing.
Before you paste a string anywhere
- A token that is still valid works like a password until it expires. Prefer an expired one, or one from a test account.
- Never paste a private key into a web page. A block that starts with
-----BEGINand contains the words PRIVATE KEY is one. - Check where the work is done. The tools on this site read the string in your browser and send nothing. An online decoder that works on its own server receives everything you paste.
Frequently asked questions
Can I decode a hash to get the original text back?
No. A hash keeps no copy of the data. The only way back is to guess the input, hash it and compare. That is why a short or common input, such as a simple password, is not protected by a plain hash: a computer can try every likely guess.
Is a string that ends with = always Base64?
No. Base32 also ends with =, but it uses only capital letters and the digits 2 to 7. In an email, = followed by two hexadecimal digits is quoted-printable.
How can I tell Base64 from hexadecimal?
Hexadecimal uses sixteen characters only: the digits and the letters a to f. Any other letter rules it out, and capitals mixed with small letters make it very unlikely. A long string made only of those sixteen characters is almost always hexadecimal.
What is a string of random letters and digits with no pattern at all?
Usually an identifier or a secret made of random bytes: a session number, an API key, a reset code. There is nothing to decode. If it gives access to something, treat it as a password.
Sources
Read on 21 November 2026.
- RFC 4648, The Base16, Base32, and Base64 Data Encodings: the alphabets and the padding.
- RFC 7515, RFC 7516 and RFC 7519: signed tokens in three parts, encrypted tokens in five, and dates counted in seconds.
- RFC 9562, Universally Unique IDentifiers (UUIDs): the layout, the version and variant digits, versions 4 and 7.
- RFC 3986, section 2.1, on percent-encoding, and RFC 5890 on the
xn--prefix of international domain names. - FIPS 180-4, Secure Hash Standard, and RFC 1321, The MD5 Message-Digest Algorithm: the sizes of the hashes. The Git glossary for the 40-digit object name.
- RFC 2045, section 6.7 (quoted-printable), RFC 8259, section 7 (JSON escapes), and the HTML Standard (character references).
- RFC 7468 for the
-----BEGINlines, RFC 2397 for data URLs, the PHC string format and the crypt(5) manual for password hash prefixes. - File signatures: the PNG specification, section 5.2; RFC 1952 for gzip; the ZIP specification; the GIF89a specification; the JPEG file interchange format; ISO 32000-1 for PDF.
- The Open Group Base Specifications, “Seconds Since the Epoch”, and the ECMAScript specification for milliseconds in JavaScript.
Every example value on this page was computed for it, and how our tools read each format is described in the methodology.