Base64 encoder.
Type text or drop a file and read its Base64 as you type. Standard or URL-safe alphabet, copy or download the result; everything runs in your browser.64 characters+33% size4:3 characters to bytes0 bytes uploaded
Add shadcn.io to your AI agent. · Pro It installs blocks, icons and templates in your design system from a prompt, with Pro.
Set up MCPBase64 encoder.
Need the UI around it? With Pro, your AI agent builds the form, the result card and the rest of the page from a prompt.
Get ProHow it works
3 steps, no account. It runs in your browser and nothing is uploaded.
Enter text or a file
Type or paste anything, or drop a file onto the input; the Base64 updates with every keystroke.
Choose the form
Standard or URL-safe: which should I use: pick in the bar and the result is rewritten in place.
Copy, download or swap
Copy the Base64, download it as a text file, or press Swap to decode it back.
Where Base64 is used
A third larger than the bytes, and understood everywhere: the default. Where Base64 does its work.
JSON Web Tokens
A header, a payload and a signature, each base64url-encoded and joined with dots: the token every OAuth flow hands around.
Data URLs
An image written straight into HTML or CSS as `data:image/png;base64,…`, saving a request at the cost of a third more bytes.
Email attachments
MIME writes every attachment as Base64 lines of 76 characters, because the mail protocols only promise to carry 7-bit text.
HTTP Basic auth
`Authorization: Basic` carries `user:password` as Base64. Encoding, not encryption, which is why it needs TLS.
Binary in JSON
JSON has no byte type, so a protobuf blob, a public key or a thumbnail travels in a string field as Base64.
PEM files
PEM certificates and keys are DER bytes as Base64 between `-----BEGIN` and `-----END` lines.
Everywhere
`btoa` and `atob` in every browser, `Buffer.from(s, "base64")` in Node, `base64` on the command line.
Integrity and secrets
A script tag's integrity attribute is a hash in Base64; Kubernetes secrets are Base64 in YAML.
Related tools
Nearby in the encoders and decoders. Every one free, in the browser.
- Base64 decoderPaste Base64 and read the text it holds as you type.
- File to Base64Drop any file and get its Base64, ready for a data URL or a JSON field.
- Base64 to filePaste Base64 and get the file back.
- Base32 encoderType text or drop a file and read its Base32 as you type.
- Hex encoderType text or drop a file and read its hex as you type: two digits per byte, upper or lower case, spaced or joined.
- Base85 encoderType text or drop a file and read its ASCII85 as you type: five characters for every four bytes, the form PDF and PostScript use.
- JWT decoderPaste a JSON Web Token and read its header, payload and signature apart, with the time claims checked against the clock.
Pricing
Build it with Pro
The tool is free. Pro adds 6,000+ blocks, premium templates and the MCP server, so your AI editor builds the product around it.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
Billing
Billed once a year in USD. Cancel anytime.
- How many people can use the license.
- Client work, SaaS products and anything you charge for.
- Production-ready React sections: hero, pricing, features, dashboards and more.
- Complete multi-page sites you can ship as they are.
- React icons from every major library, installable with one command.
- Presets that restyle every block, in light and dark.
- Lets your AI editor search, preview and install blocks for you.
- Priority requests are answered first.
Individual
For personal projects & open source
$32instead of $49/mo
$389 billed yearly
- Seats: 1 seat
- Commercial use: Personal & open source only
- Pro blocks: 6,000+ blocks
- Templates: All 14 templates
- React icons: 294k+ icons
- Themes: All 59 themes
- MCP server: Basic usage
- Support: Standard
Team
Most popularFor freelancers, agencies & startups
$66instead of $99/mo
$789 billed yearly · ≈ $13/dev/mo
- Seats: Up to 5 seats
- Commercial use: Included
- Pro blocks: 6,000+ blocks
- Templates: All 14 templates
- React icons: 294k+ icons
- Themes: All 59 themes
- MCP server: High usage
- Support: Priority
Organization
For companies with larger teams
$132instead of $199/mo
$1,589 billed yearly
- Seats: Unlimited seats
- Commercial use: Included
- Pro blocks: 6,000+ blocks
- Templates: All 14 templates
- React icons: 294k+ icons
- Themes: All 59 themes
- MCP server: Unlimited usage
- Support: Priority
Billed once a year in USD. Cancel anytime.
Individual
For personal projects & open source
$32instead of $49/mo
$389 billed yearly
- How many people can use the license.Seats: 1 seat
- Client work, SaaS products and anything you charge for.Commercial use: Personal & open source only
- Production-ready React sections: hero, pricing, features, dashboards and more.Pro blocks: 6,000+ blocks
- Complete multi-page sites you can ship as they are.Templates: All 14 templates
- React icons from every major library, installable with one command.React icons: 294k+ icons
- Presets that restyle every block, in light and dark.Themes: All 59 themes
- Lets your AI editor search, preview and install blocks for you.MCP server: Basic usage
- Priority requests are answered first.Support: Standard
Team
Most popularFor freelancers, agencies & startups
$66instead of $99/mo
$789 billed yearly · ≈ $13/dev/mo
Everything in Individual, plus
- How many people can use the license.Seats: Up to 5 seats
- Client work, SaaS products and anything you charge for.Commercial use: Included
- Lets your AI editor search, preview and install blocks for you.MCP server: High usage
- Priority requests are answered first.Support: Priority
Organization
For companies with larger teams
$132instead of $199/mo
$1,589 billed yearly
Everything in Team, plus
- How many people can use the license.Seats: Unlimited seats
- Lets your AI editor search, preview and install blocks for you.MCP server: Unlimited usage
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
Questions and answers
Before you trust the result: what to know about the format, the limits and your data.
Build the product around it
Every block, template and icon, installed by your AI agent in your theme. The tools stay free.
Cancel anytimeKeep what you've shipped if you cancel