Text Encoding Converter
Convert text to hex, octal, decimal, Base64, UTF-16LE, or UTF-32LE — and back.
Inputs
Results
// to-code · hex · 0 bytes → 0 chars
About this tool
Convert text to hex, octal, decimal, Base64, UTF-16LE, or UTF-32LE — and back. Emoji and surrogate pairs round-trip correctly. Runs in your browser.
How to use
- 1Paste your text into the Input field, or paste hex/escape/Base64 data when going Code → text.
- 2Choose Text → code or Code → text in the Direction field.
- 3Pick an Encoding: UTF-8 hex, UTF-16LE hex, UTF-32LE hex, Octal, Decimal, or Base64.
- 4Copy the result, then flip Direction and paste it back to verify a round-trip.
Frequently asked questions
Related tools
OCR - Image to TextExtract text from images and screenshots.Text CompareCompare two texts and highlight every difference.Text to HashGenerate MD5, SHA-1, SHA-256, and more from text.Word CounterCount words, characters, sentences, and reading time.Text Case ConverterConvert text to UPPERCASE, lowercase, Title Case, camelCase, and more.Character Counter & AnalyzerCount characters, unique characters, and find the most frequent one.