Online ASCII Code Converter

Convert between text and ASCII codes in seconds. Encode to space-separated numbers or HTML entities, decode lists or entities back to text, and copy clean results. Ideal for debugging, study, and content cleanup.

ASCII Converter

About this ASCII Converter

ASCII represents characters using integer codes from 0 - 127. This tool converts between readable text and ASCII code representations for quick inspection, copy/paste, and debugging. πŸ§°πŸ”Ž

What you can do

  • Encode text into ASCII codes (Numbers) or HTML numeric entities (Entities).
  • Decode ASCII codes or entities back into readable text.
  • Swap inputs to quickly convert back and forth while testing.

How it works

  • Encode turns each character into an ASCII code using your chosen Format:
    • Entities (default): concatenated HTML entities like Hello
    • Numbers: space-separated decimal values like 72 101 108 108 111
  • Decode reverses the process:
    • From Entities: parses sequences like &#NNN;
    • From Numbers: accepts decimal tokens separated by spaces, commas, or new lines

Format quick reference

Format What it looks like Best for Decoding input accepts
Entities He... HTML-safe copy/paste &#NNN; sequences (optionally mixed with text)
Numbers 72 101 108... Debugging / logs Decimals split by spaces, commas, tabs, or new lines

Buttons

  • Encode »: Encode the left textarea into the selected format and show it on the right.
  • Decode »: Decode the left textarea according to the selected format and show it on the right.
  • « Swap »: Swap left and right textareas to continue converting back and forth.
  • Copy Result πŸ“‹: Copy the right textarea to your clipboard.

Examples

  • Hello → Numbers: 72 101 108 108 111
  • Hello → Entities: Hello
  • A! → Numbers: 65 33
  • Space () → Numbers: 32

Tips

  • If decoding numbers, you can paste messy input like 72,101,108 or line-separated values - separators don't matter much βœ…
  • If you only see entities in your output, that's normal for the Entities format - those are meant to be HTML-friendly.

Notes & limitations

  • ASCII is 0 - 127. Characters above 127 are not standard ASCII and may not round-trip as expected.
  • Control codes (0 - 31 and 127) may not display as readable characters.
  • For full Unicode support, use the Unicode or UTF-8 converters.
Feature 01

Text Paint

online text paint Draw ASCII art on a canvas with unicode characters. Convert image files to text, merge two text documents, rotate, crop and other useful features. TextPaint.com

Feature 02

Text Fancy

fancy text converters Fancy Text converters online to create ASCII art, π–˜π–šπ–•π–Šπ–— πŸ…πŸ…¦πŸ…”πŸ…’πŸ…žπŸ…œπŸ…” Ρ”Ε¦Ε¦Ρ”Ο‚Υ‡ΰΈ£ made with unicode characters. Highlight your messages and social media posts. TextFancy.com

Feature 03

Text Heads

heads and faces with characters Text face Κ•ΰ² ΰ²Ώα΄₯ΰ² Κ” gallery and editor to express emotions (γ€β—‰η›Šβ—‰)぀ and create portraits with plain text. Design your own or pick one from the gallery ( Ν‘~ ΝœΚ– Ν‘Β°) TextHeads.com

Need more features?