Skip to tool

SQL Hexadecimal to text Online

Decode hexadecimal input to text/bytes.

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

Worked example

Enter hexadecimal byte pairs. The result interprets the bytes as UTF-8, with replacement characters for invalid UTF-8. Use PostgreSQL’s function reference to adapt the input to SQL syntax.

Sample input
48656c6c6f
Sample output
Hello

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