Navigation

HomeImage ToolsCode ToolsMath ToolsDate ToolsGeneratorsUtilities
Color ToolsText ToolsPDF Tools

UTF-8 to Arbitrary Base

Convert UTF-8 text to code points in any base (2-36).

Paste UTF-8 text, pick a base between 2 and 36, and get each character's Unicode code point written in that numeral system. Handy when you're debugging encoding in a language that lacks a built-in toString(base), or when you need hex, binary, or something weird like base-20 for a specific spec. And everything runs in your browser. Nothing gets uploaded.

How It Works

Each character in the input text is converted to its Unicode code point, then that code point is expressed in the chosen base. For example, 'H' has code point 72 decimal, which is 48 in base 16, 1001000 in base 2, or 110 in base 8.

Related Tools