String decoder
Decode, convert and analyse text in a dozen formats — Base64, Base32, hex, percent encoding, HTML entities, JWT, JSON and more — with the result readable side by side with the input.
Frequently asked questions
10 entriesString decoding is the process of converting encoded or transformed text back to its original readable format. Text is often encoded for safe transmission over networks, storage in databases, or to comply with specific protocols. Common reasons include ensuring special characters don't break systems, compressing data, or representing binary data as text.
Base64 is a binary-to-text encoding scheme that represents binary data using 64 ASCII characters (A-Z, a-z, 0-9, +, /). It's commonly used for embedding images in HTML/CSS, storing binary data in JSON/XML, email attachments (MIME), and transmitting data over text-based protocols. Base64 is NOT encryption - it's just encoding for safe text representation.
Look for these patterns: Base64 ends with '=' padding and uses A-Z, a-z, 0-9, +, /. URLs contain % followed by hex digits (%20, %3D). HTML entities start with & and end with ; (&, '). JWT tokens have three parts separated by dots. Hex strings use only 0-9 and A-F. Our tool automatically attempts different decodings to help you identify the format.
JWT (JSON Web Tokens) are secure tokens with three parts: header.payload.signature. The header and payload are Base64-encoded JSON that can be safely decoded to view claims and metadata. However, NEVER decode JWTs from untrusted sources in production, and never trust the content without signature verification. Our tool only shows the structure - always validate signatures server-side.
URL encoding replaces special characters with % followed by hex values (%20 for space, %3D for =). Issues often arise from: double-encoding (encoding already encoded text), character set mismatches (UTF-8 vs Latin-1), or partial encoding where only some characters are encoded. Try decoding multiple times if you suspect double-encoding, or check if only specific characters need decoding.
HTML entities encode special characters that have meaning in HTML (< for <, > for >, & for &). They prevent HTML injection and ensure proper display. Common entities include " for quotes, ' for apostrophes, and numeric entities like € for €. Our tool handles both named entities (&) and numeric entities ({).
Generally yes for viewing content, but be cautious: Never execute decoded content as code. Be careful with JWT tokens - only decode for inspection, never for authentication without proper verification. Avoid decoding suspicious Base64 that might contain malicious payloads. Our tool only performs read-only decoding and doesn't execute any decoded content.
This indicates character encoding issues. The text was likely encoded in one character set (UTF-8, Latin-1, etc.) but decoded assuming a different one. Common with international characters, emojis, or special symbols. Try different decoding methods or check if the original text used a specific character encoding. Sometimes multiple rounds of decoding are needed.
Encoding (like Base64, URL encoding) transforms data for safe transmission - it's easily reversible and not secure. Encryption scrambles data for security and requires a key to decrypt. Hashing creates a one-way fingerprint that can't be reversed. Our tool handles encoding/decoding only. For hashes, we provide verification tools to check if text matches a hash.
Exercise caution with sensitive data. While our tool runs locally in your browser and doesn't send data to servers, avoid decoding: passwords, API keys, personal information, or confidential business data. For sensitive JWT tokens, use secure, offline tools. Always follow your organization's security policies regarding data handling.