---
title: Encode and Decode Base64 API
slug: base64-encode-decode
url: https://apyhub.com/dosvak/service/base64-encode-decode
provider: Dosvak LLC
categories: [Developer Tools, "Security & Privacy"]
tags: [base64, encoding, decoding, text-transformation, developer-tools]
auth: api_key
---

# Encode and Decode Base64 API

Encode UTF-8 text to Base64 or decode Base64 back to text. Useful for transport, inspection, and round-trip checks in scripts and integrations.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| GET | `/encode` | What it does Base64-encodes the UTF-8 string provided in the text query parameter and returns the e… | 10 |
| GET | `/decode` | What it does Decodes a Base64-encoded string back into UTF-8 text. The endpoint takes the encoded i… | 10 |

## About

## What it does
Base64 Encoder Decoder turns UTF-8 text into Base64 and converts Base64 back into readable text.

Send a `text` query parameter to `/encode` and get an `encoded` string in response. Use `/decode` with an `encoded` query parameter and get a `decoded` string back. The service is small on purpose: it focuses on two common transformations developers need when moving text through URLs, headers, config values, or systems that expect Base64 payloads.

Use Base64 Encoder Decoder when you need to inspect an encoded value, verify a round-trip conversion, or prepare text for transport between services that do not accept raw characters. Because the inputs and outputs are plain strings, it fits well into scripts, test suites, internal tools, and lightweight integrations.

If your workflow depends on predictable text encoding and decoding, this endpoint pair gives you a straightforward way to convert in either direction without extra metadata or file handling.

## Usage

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/dosvak/service/base64-encode-decode
