Code & web

Base64 encoder / decoder

Encode text to Base64 or decode a Base64 string, including accents and emoji.

Embed this calculator on your website

Copy this code and paste it into your page (WordPress, Wix, Webflow, HTML…). It's free: please keep the link to HOD Calc.

How it works

Base64 represents data with 64 characters (A–Z, a–z, 0–9, + and /). Text is converted to UTF-8 first.

Results are for guidance only and do not replace professional advice.

Worked example

With the default values:

  • Text or Base64Bonjour HOD Calc !
  • ActionEncode

you get:

  • Base64Qm9uam91ciBIT0QgQ2FsYyAh
  • Length24

Frequently asked questions

How does the “Base64 encoder / decoder” tool work?

Base64 represents data with 64 characters (A–Z, a–z, 0–9, + and /). Text is converted to UTF-8 first.

What do I need to enter?

Just fill in: text or base64, action. The result updates as you type.

Can you give an example?

Text or Base64: Bonjour HOD Calc !; Action: Encode → Base64: Qm9uam91ciBIT0QgQ2FsYyAh; Length: 24.

Is this calculator free, and is my data private?

Yes. HOD Calc is completely free with no sign-up. The calculation runs in your browser: nothing you type is sent or stored.