Base64 convertor

Write or insert the content that you want to encode or decode.

Top  •  Home

What is it?

This service is a simple base64 convertor. It can convert your text to its base64 representation by clicking the encode button. The decode button can be used to conversion from base64 to common ASCII representation.

Something about base64

Base64 encoding converts 3 uncoded bytes into 4 encoded ASCII characters. So that the encoding result depends on their position in the three-octet group in the text. If there are less than 3 bytes, the equal sing is used as padding.

Base64 version

There are some modified base64 encoding. They differ from native base64 in some ways, mainly it means substitution of some characters. These modified versions was primary used for URLs, filenames, regexps and XML identifiers.

Creation of this service

I found it useful when I tries to check e-mail headers or something similar. And after that, I released this service on the net.

Sentence example

Text:              Hello world!
Encoded:           SGVsbG8gd29ybGQh
With mediatype:    data:text/plain;base64,SGVsbG8gd29ybGQh
Another mediatype: data:text/html;charset=utf-8;base64,SGVsbG8gd29ybGQh

New line example

New line is a charater, too. However on Windows machines, there is also a carriage return character before a line feed character. The line feed is is used as new line character on UNIX and other operating systems.

Text:               Hello
                    world!
Encoded:            SGVsbG8NCndvcmxkIQ==
With mediatype:     data:application/zip;base64,SGVsbG8NCndvcmxkIQ==

Special characters example

It's longer, isn't it? :)

Text:        Zlutoucky kun
Encoded:     Wmx1dG91Y2t5IGt1bg==
Text:        Žluťoučký kůň
Encoded:     xb1sdcWlb3XEjWvDvSBrxa/FiA==

Top  •  Home