Glot — Free Online JSON Editor & i18n Translation Tool

Base64 & URL Encoder / Decoder

Encode and decode Base64, URL, and HTML entities instantly in your browser — free, no sign-up required.

Input0 chars
Encoded

Output will appear here...

How to Use the Encoder / Decoder

  1. 1

    Select the encoding type

    Choose between Base64, URL encoding, or HTML entity encoding using the tabs. Each mode handles different use cases like data transport, URL safety, or XSS prevention.

  2. 2

    Toggle encode or decode mode

    Click the encode/decode toggle to switch direction. Paste your plain text to encode it, or paste an encoded string to decode it back to readable text.

  3. 3

    Copy the result

    The output updates instantly as you type. Click copy to send it to your clipboard. All encoding and decoding runs locally — your data is never sent to a server.

What is a Base64 Encoder / Decoder?

Base64 encoding converts binary data or text into a subset of ASCII characters, making it safe to transmit in URLs, emails, and JSON. A URL encoder converts special characters like spaces and symbols into percent-encoded equivalents (e.g., %20). HTML encoding converts characters like < and > into HTML entities to prevent XSS vulnerabilities. Use this free tool to encode and decode all three formats instantly in your browser.