Navigation

HomeImage ToolsCode ToolsMath ToolsDate ToolsGeneratorsUtilities
Color ToolsText ToolsPDF Tools

UTF-16 to UTF-8

Convert UTF-16 code units (hex) to UTF-8 text, including surrogate pairs.

Paste UTF-16 hex code units and get back the actual UTF-8 text — surrogate pairs and all. Handles emoji and characters outside the BMP without choking on them. And everything runs in your browser. Nothing gets uploaded.

How It Works

Enter UTF-16 code units as hex values. BMP characters use a single 16-bit code unit (e.g., 0048 for 'H'). Characters outside the BMP use surrogate pairs — a high surrogate (D800-DBFF) followed by a low surrogate (DC00-DFFF). This tool automatically detects and decodes surrogate pairs to produce the correct UTF-8 characters.

Related Tools