Encoder / Decoder Hub

Encode and decode Base64, URL, HTML entities, JWT tokens, and Hex. All conversions happen client-side -- your data never leaves your browser.

Base64 Encode / Decode

Encode text to Base64 or decode Base64 back to text. Supports full Unicode characters.

Frequently Asked Questions

What is Base64 encoding?

Base64 is a binary-to-text encoding scheme that represents binary data using 64 printable ASCII characters. It is commonly used for embedding images in HTML, encoding email attachments, and transmitting binary data over text-based protocols.

What is the difference between encodeURI and encodeURIComponent?

encodeURI preserves characters with special URL meaning (:, /, ?, #, etc.), while encodeURIComponent encodes everything. This tool uses encodeURIComponent for thorough encoding of individual values.

How do I decode a JWT token?

Paste your full JWT token (three dot-separated segments) into the JWT Decoder tab. The tool will decode and display the header, payload (with formatted JSON), and signature. It also checks the expiration claim.

What are HTML entities?

HTML entities are special character sequences (like &lt; for < and &amp; for &) used to safely display reserved HTML characters. Encoding prevents XSS attacks and rendering issues in web pages.

Is my data safe with this tool?

Yes. All encoding and decoding happens entirely in your browser using client-side JavaScript. No data is ever sent to a server, making it safe for sensitive information like JWT tokens or API keys.

Related Tools