---
# System prepended metadata

title: ASCII to characters and vice-versain Javascript

---

# ASCII to characters and vice-versain Javascript

```
let ch = 'A';
ch.charCodeAt(0);   // return 65

let ch = String.fromCharCode(65+1)  // ch = B;
```

> A-Z - 65-90
>  every small alphabet is 32 positions away from it's corresponding capital letter.
>  .i.e, 65+32 = 97    // charCode of a = 97



