Skip to content
← Tools
Integration & APIs

Base64 encoder & decoder

UTF-8 safe in both directions, including the URL-safe variant used by JWTs and OAuth.

UTF-8 safe in both directions — accented characters, currency symbols and emoji survive the round trip, which naive btoa-only implementations mangle. URL-safe mode is the variant used by JWTs and OAuth: + and / become - and _, and padding is dropped. Nothing is transmitted.