Encoding Functions
Last updated
Built-in functions for encoding and decoding text. They are always available - no import required.
URL encoding - encodeURIComponent / decodeURIComponent escape and unescape characters that are unsafe in a URL.
Base64 - btoa / atob convert between raw text and Base64.
The pages below cover each pair.
Last updated