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.
  • Applies no padding, so each value is only as long as it needs to be and small code points stay easy to read.

Limitations

  • Doesn't show the character's name or Unicode block, only its numeric code point.
  • Values vary widely in width, so the output does not line up in columns the way the zero-padded hex and binary converters do.

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.
  • Use decimal when looking values up in documentation that lists them that way, and hex when matching the U+ notation of Unicode charts.
  • Keep the space separators, since values of differing length cannot be split apart again without them.

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.
  • Comparing these values against a byte count and finding they disagree, which is expected for any text above the ASCII range.

Tips

  • Use Convert Decimal to a String to decode the result back to text.
  • A value above 65535 marks a supplementary-plane character such as an emoji, which is the quickest way to spot them in a long list.

References

Frequently Asked Questions