String to Decimal Converter

Encodes each character as its decimal Unicode code point, space-separated, useful for looking up characters in a Unicode chart or debugging encoding issues. A free online tool from Staaarter, right in your browser.

Runs locallyUpdated 2026-07-22

Overview

Introduction

Looking up a character's Unicode code point is a common step when debugging encoding issues or cross-referencing a Unicode chart.

This tool lists every character's decimal code point directly.

What Is String to Decimal Converter?

A converter that encodes each character as its decimal Unicode code point, space-separated, covering the full Unicode range including emoji and non-Latin scripts.

It runs entirely client-side as part of this site's String Tools collection, so nothing you paste is ever uploaded to a server.

How String to Decimal Converter Works

Each character's code point is read via codePointAt() and formatted as a decimal number.

The transformation happens synchronously in JavaScript the moment you type, with no network round trip involved.

When To Use String to Decimal Converter

Use it to look up a character's Unicode code point for a chart reference, or to debug an encoding mismatch.

It's a fast way to get the answer without opening a code editor, a REPL, or writing a one-off script just to check.

Features

Advantages

  • Covers the full Unicode range, not just ASCII.
  • Uses code-point-aware iteration, correctly handling emoji and other supplementary-plane characters.

Limitations

  • Doesn't show the character's name or Unicode block, only its numeric code point.

Examples

Converting short text

Input

Hi

Output

72 105

'H' is code point 72, 'i' is code point 105.

Best Practices & Notes

Best Practices

  • Cross-reference the resulting code points against a Unicode chart if you need the character's name or block.

Developer Notes

This is a thin wrapper around a shared radix-encoding helper called with radix 10 and no minimum padding, sharing its core logic with the binary, octal, and hex conversion tools.

String to Decimal Converter Use Cases

  • Looking up a character's Unicode code point
  • Debugging an encoding mismatch in text data
  • Cross-referencing text against a Unicode chart

Common Mistakes

  • Confusing decimal code points with UTF-8 byte values; use Convert a String to Bytes for the latter.

Tips

  • Use Convert Decimal to a String to decode the result back to text.

References

Frequently Asked Questions