Encode and decode Base64 and URLs in your browser
Base64 turns binary or text data into plain ASCII characters so it can travel safely through systems that only handle text, such as email, JSON and data URLs. URL encoding, also called percent-encoding, replaces unsafe characters in a web address with a percent sign and two hex digits so the address is valid.
Which URL option should I use?
Use URL part to encode a single value, such as a search query that goes after a question mark, because it encodes characters like & and /. Use Full URL to encode a whole address while keeping its structure, so characters such as : / ? and # stay as they are.
Base64 is not encryption
Anyone can decode Base64, so it does not protect secrets. Use proper encryption for sensitive data. URL-safe Base64 swaps + and / for - and _ and drops the = padding, which makes it safe to use in links and file names. Everything on this page runs locally in your browser.