{"category":"encoding","endpoint":"https://setget.net/v1/tools/base64","examples":[{"input":{"text":"Hello, World!"},"output":{"bytes":13,"text":"SGVsbG8sIFdvcmxkIQ=="}},{"input":{"action":"decode","text":"SGVsbG8sIFdvcmxkIQ"},"output":{"binary":false,"bytes":13,"encoding":"utf-8","text":"Hello, World!"},"title":"Decoding without padding"},{"input":{"padding":false,"text":"subjects?_d=1","variant":"url-safe"},"output":{"bytes":13,"text":"c3ViamVjdHM_X2Q9MQ"},"title":"URL-safe, no padding"}],"input_schema":{"additionalProperties":false,"properties":{"action":{"default":"encode","description":"Encode text to Base64, or decode Base64 to text.","enum":["encode","decode"],"type":"string"},"padding":{"default":true,"description":"Keep the trailing \"=\" padding when encoding.","type":"boolean"},"text":{"description":"The text to encode, or the Base64 to decode.","examples":["Hello, World!"],"maxLength":1000000,"type":"string"},"variant":{"default":"standard","description":"Alphabet for encoding. \"url-safe\" uses - and _ in place of + and /. Decoding accepts both.","enum":["standard","url-safe"],"type":"string"}},"required":["text"],"type":"object"},"keywords":["base64","decode base64","encode base64","base64url","b64","base64 to text","text to base64","atob","btoa"],"related":["base32","base58","hex","url-encode","jwt-decode"],"slug":"base64","summary":"Encode text to Base64 or decode it back, in the standard or URL-safe alphabet.","tier":"inline","title":"Base64 encoder and decoder","url":"https://setget.net/tools/base64"}
