No processing of your file contents takes place on any server. You need no data-processing agreement with gottrix to handle confidential or business documents.
Hosted in GermanyGlobal Content Delivery
Origin servers at Hetzner in Germany, delivered worldwide through a content delivery network. Your file contents are never transmitted in the process - they never leave your device.
Base64 represents arbitrary data using only 64 printable characters. That is useful for embedding text or small content where only simple characters are allowed - such as in data URLs, JSON fields, configurations or email headers. This tool encodes your text to Base64 and decodes Base64 back into readable text.
You choose the direction: text to Base64 or Base64 to text. The text is encoded via its UTF-8 bytes, so umlauts, accents and emojis are preserved correctly. Unlike a file tool, this one works directly with pasted text - ideal for quick conversions without the detour via a file.
A toggle switches to URL-safe Base64 (RFC 4648 section 5): "+" becomes "-" and "/" becomes "_". That lets you drop the result straight into a URL, a filename or a cookie value without percent-encoding it further. The "=" padding character stays, as RFC 4648 section 3.2 requires; only when a format explicitly omits it, such as JWT, do you switch on "Without padding". Decoding accepts both.
The whole conversion runs entirely locally in your browser in pure JavaScript - your text is not uploaded, not stored, and no foreign library is loaded from a CDN. If the Base64 input is invalid when decoding, the tool says so honestly instead of inventing a wrong result.
Many online Base64 tools send your text to their server to encode it - inconvenient for confidential values such as API keys or credentials, which are often transported as Base64. This tool encodes and decodes strictly locally in the browser, with no account and no character limit.
Free as often as you like: no daily cap, no account, no paywall - your input stays on your device. Many online services limit free use to a few runs per day or require an account; here everything runs locally in your browser - with no daily quota and no sign-up.
Specifications
Specifications
Input formats
Text input
Output format
TXT
Batch processing
No
Processing
Locally in your browser (JavaScript)
File upload
None
In 3 steps
Paste text or Base64 into the text field.
Choose the direction (text to Base64 or Base64 to text) and enable URL-safe Base64 if needed.
Read the result or download it as a text file.
Limitations: It uses Base64 (RFC 4648) over the UTF-8 bytes of the text or over bytes you enter as hex digits, in the standard alphabet (+ /) or the URL-safe alphabet (- _), padded by default, unpadded on request. If decoded Base64 is not valid UTF-8, the tool says so instead of printing replacement characters; the hex view then shows the bytes. For whole files there are the dedicated encode and decode file tools. When decoding, valid Base64 in the matching alphabet is required, otherwise the tool reports an honest error. Very large texts are limited by your device memory.
FAQ
Is my text uploaded?
No. The conversion runs entirely locally in your browser; your text never leaves your device and is not stored.
Do umlauts and emojis work?
Yes. The text is encoded via its UTF-8 bytes, so umlauts, accents and emojis are preserved when converting back and forth.
How is this different from the file tool?
This tool works with pasted text; for whole files (images, documents) use the dedicated encode and decode file tools.
What happens with invalid Base64?
When decoding, the tool reports an honest error instead of producing a wrong result. Check that the input is complete Base64 in the right alphabet (standard or URL-safe).
What is URL-safe Base64?
The RFC 4648 section 5 variant: "+" and "/" would have a special meaning in a URL, so it replaces them with "-" and "_". The "=" padding character stays by default (RFC 4648 section 3.2); for JWT you switch it off. That lets you drop the result straight into a URL path, a query or a filename.
Does this also work on a phone?
Yes, in any current mobile browser just like on desktop - the text stays local.
Is Text to Base64 free - are there any limits?
Yes. You can use Text to Base64 as often as you like: no daily cap, no account, no paywall. There is no fixed length cap for your input; very long texts are bounded only by your device's memory.
Is it safe to encode a confidential value here?
Yes. Unlike many online tools, your text is not sent to a server - try airplane mode.