Codificar en Base64

Codifica la entrada con “Base64” según el estándar correspondiente.

Entrada: Texto (UTF-8) / Un archivoResultado: Texto

Entrada de texto

Ejecuta para ver el resultado

Ejemplos

Represent bitcoin genesis newspaper headline

Use base64 to represent the exact UTF-8 bytes. Encoding does not make public text confidential.

Entrada

The Times 03/Jan/2009 Chancellor on brink of second bailout for banks

Expected answer

VGhlIFRpbWVzIDAzL0phbi8yMDA5IENoYW5jZWxsb3Igb24gYnJpbmsgb2Ygc2Vjb25kIGJhaWxvdXQgZm9yIGJhbmtz
Alfabeto
A-Za-z0-9+/=
Represent a registry credential from kubernetes documentation

Use base64 to represent the exact UTF-8 bytes. Encoding does not make public text confidential.

Entrada

tiger:pass1234

Expected answer

dGlnZXI6cGFzczEyMzQ=
Alfabeto
A-Za-z0-9+/=
Represent a checksum-sensitive log line with a final newline

Use base64 to represent the exact UTF-8 bytes. Encoding does not make public text confidential.

Entrada

event=deploy status=ready

Expected answer

ZXZlbnQ9ZGVwbG95IHN0YXR1cz1yZWFkeQo=
Alfabeto
A-Za-z0-9+/=
Represent a french café in precomposed unicode

Use base64 to represent the exact UTF-8 bytes. Encoding does not make public text confidential.

Entrada

café

Expected answer

Y2Fmw6k=
Alfabeto
A-Za-z0-9+/=
Represent a french café with a separate combining accent

Use base64 to represent the exact UTF-8 bytes. Encoding does not make public text confidential.

Entrada

café

Expected answer

Y2FmZcyB
Alfabeto
A-Za-z0-9+/=
Represent chinese text in a utf-8 request body

Use base64 to represent the exact UTF-8 bytes. Encoding does not make public text confidential.

Entrada

你好,世界

Expected answer

5L2g5aW977yM5LiW55WM
Alfabeto
A-Za-z0-9+/=
Represent a literal plus and space inside a url parameter

Use base64 to represent the exact UTF-8 bytes. Encoding does not make public text confidential.

Entrada

release notes+A/B?

Expected answer

cmVsZWFzZSBub3RlcytBL0I/
Alfabeto
A-Za-z0-9+/=
All bytes

Entrada

40aff2e9d2d8922e47afd464.bin

256 bytes

Descargar

Expected answer

AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vMDEyMzQ1Njc4OTo7PD0+P0BBQkNERUZHSElKS0xNTk9QUVJTVFVWV1hZWltcXV5fYGFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6e3x9fn+AgYKDhIWGh4iJiouMjY6PkJGSk5SVlpeYmZqbnJ2en6ChoqOkpaanqKmqq6ytrq+wsbKztLW2t7i5uru8vb6/wMHCw8TFxsfIycrLzM3Oz9DR0tPU1dbX2Nna29zd3t/g4eLj5OXm5+jp6uvs7e7v8PHy8/T19vf4+fr7/P3+/w==
Alfabeto
A-Za-z0-9+/=
Hello, World!

Entrada

Hello, World!

Expected answer

SGVsbG8sIFdvcmxkIQ==
Alfabeto
A-Za-z0-9+/=
UTF-8

Entrada

ნუ პანიკას

Expected answer

4YOc4YOjIOGDnuGDkOGDnOGDmOGDmeGDkOGDoQ==
Alfabeto
A-Za-z0-9+/=

Herramientas relacionadas

Formato de datos

Referencia de la operación

Ver la documentación técnica original (English)