Skip to tool

SQL Base64 decode Online

Decode Base64 input to UTF-8 text.

The output updates as you type. The tool processes input in your browser.

Worked example

This tool reads Base64 or Base64url data and displays decoded bytes as UTF-8 text. Binary payloads may display replacement characters. Use PostgreSQL’s function reference to adapt the input to SQL syntax.

Sample input
Q2Fmw6k=
Sample output
Café

Using this operation in SQL

The interactive result uses JavaScript. Check the database dialect. PostgreSQL text functions use SQL-style one-based positions and LIKE uses its own pattern syntax.

SQL reference