Encoding
Base64 Encode
Encode UTF-8 text into Base64 directly in the browser for tests, headers, and payloads.
Process the input to see the result here.
Encode UTF-8 text into Base64 for payloads, headers, and tests where text needs a copy-safe representation.
When to use
Use it when an API, documentation example, header, or fixture expects a Base64 value generated from plain text.
Input
Type or paste UTF-8 text. Accents, symbols, emoji, and line breaks are supported before conversion.
Output
The output is a copy-ready Base64 string, sometimes ending in = padding depending on input length.
- Paste the original text into the input field.
- Run encoding and copy the Base64 result.
- To verify the round trip, open Base64 Decode and decode the output.
- Do not use Base64 as a security layer because it is reversible.
- Fixtures and tests: Create predictable Base64 values for unit tests, mocks, and documentation examples.
- Text payloads: Prepare small text snippets for APIs or fields that expect Base64 input.
- UTF-8 round trip: Encode accented text and verify with decode that Unicode is preserved.
- Not encryption: Anyone can decode Base64, so do not use the output to hide passwords or secrets.
- Padding with =: A trailing = is normal and represents Base64 padding.
- Output size: Base64 increases text size compared with the original input, which matters for large payloads.
- Binary and files: This tool encodes text; files require a specific binary reading workflow.
- Base64 Decode Is Not Decryption: Practical Guide
Understand the difference between Base64 decoding and decryption, when to inspect encoded values, and how to avoid treating decoded text as secure.
Encode simple text
Input: Hello world
Output: SGVsbG8gd29ybGQ=
Encode UTF-8 text
Input: Olá mundo
Output: Copy-ready Base64 output.
Does Base64 Encode encrypt data?
No. Base64 is encoding, not encryption.
Can the output end with =?
Yes. Padding with = is part of standard Base64 in many cases.
Does it work with accents and emoji?
Yes. The input text is encoded as UTF-8 before Base64 conversion.
Can I use it for API and testing payloads?
Yes. It is useful when a text-safe Base64 value is required.
Is data sent to a backend?
No. Encoding runs locally in your browser.
How do I use this tool safely?
Use the tool as a short workflow: review the expected input, run processing, and validate the output: Fields: Text (textarea, required). Example workflow: Hello world -> SGVsbG8gd29ybGQ=. Enter the requested input, run the tool, and review validation messages or warnings before copying the result.
Which inputs and outputs should I check?
Check this tool's input fields, examples, and output before using the result: Text (textarea, required). Use the fields, formats, and limits described in the tool interface; review the output before applying it to critical workflows.