Skip to content
$TinyFreeTools
Tools
IMImage toolsImage compressor11PDPDF toolsMerge PDF11QRQR toolsQR code generator2COColor & CSS toolsColor converter7DEDeveloper toolsJSON formatter & validator14TEText toolsWord & character counter7COConverters & calculatorsAspect ratio calculator7DADate & time toolsWorld clock converter8
Images
Featured tools
  • IMImage compressorCompress JPEG, PNG, WebP, and AVIF images in batches toward a chosen file-size target.
  • IMImage resizerResize an image by pixels or choose 25%, 50%, 75%, or 100% while preserving its proportions.
  • IMImage format converterConvert JPEG, PNG, WebP, and AVIF images to WebP, JPEG, PNG, or AVIF when the selected encoder is supported.
Other Images tools
  • Image cropper
  • Rotate & flip image
  • Remove image metadata
  • Image watermark
  • Favicon generator
  • Social image resizer
  • EXIF metadata viewer
  • Blur or pixelate an image
All 11 Images tools
PDF
Featured tools
  • PDMerge PDFCombine multiple PDF files into one document in the order you choose.
  • PDSplit & extract PDF pagesExtract a page range or selected pages from a PDF into a new document.
  • PDImages to PDFPlace JPG or PNG images into a single PDF with automatic page sizing.
Other PDF tools
  • Organize PDF pages
  • Rotate PDF pages
  • Watermark PDF
  • Add PDF page numbers
  • Remove PDF metadata
  • Crop PDF
  • PDF to image
  • Compress PDF
All 11 PDF tools
QR
Featured tools
  • QRQR code generatorCreate QR codes for links, text, Wi-Fi, contacts, email, SMS, events, menus, and review pages.
Other QR tools
  • QR code scanner
All 2 QR tools
Color
Featured tools
  • COColor converterTranslate colors between HEX, RGB, HSL, HSV, and OKLCH values.
  • COWCAG contrast checkerMeasure the contrast ratio between text and background colors.
  • COColor palette generatorGenerate a coordinated palette from a base color using predictable color relationships.
Other Color tools
  • Image color picker
  • CSS gradient generator
  • CSS box-shadow generator
  • CSS filter generator
All 7 Color tools
Developer
Featured tools
  • DEJSON formatter & validatorValidate JSON, format it with readable indentation, or minify it for transport.
  • DERegex testerTest a JavaScript regular expression against sample text with flags and match details.
  • DEUUID generatorGenerate one or many cryptographically random version 4 UUIDs.
Other Developer tools
  • JSON diff
  • YAML ↔ JSON converter
  • CSV ↔ JSON converter
  • Base64 & URL encoder
  • JWT decoder
  • UTM campaign URL builder
  • Markdown preview
  • Number base converter
  • HTML entity encoder
  • Password generator
  • File checksum verifier
All 14 Developer tools
Text
Featured tools
  • TEWord & character counterCount words, characters, sentences, paragraphs, lines, and estimated reading time.
  • TECase converterConvert text to upper, lower, title, sentence, camel, Pascal, snake, or kebab case.
  • TEText difference checkerCompare two pieces of text line by line and highlight additions and removals.
Other Text tools
  • URL slug generator
  • Remove duplicate lines
  • Whitespace cleaner
  • Reading time calculator
All 7 Text tools
Convert
Featured tools
  • COAspect ratio calculatorCalculate a missing width or height while preserving an image or video ratio.
  • COPX ↔ REM converterConvert CSS pixel and rem values using a configurable root font size.
  • COData size converterConvert bytes across decimal KB/MB/GB and binary KiB/MiB/GiB units.
Other Convert tools
  • DPI & PPI calculator
  • Paper size converter
  • Recipe scaler
  • Cooking unit converter
All 7 Convert tools
Date & time
Featured tools
  • DAWorld clock converterSee the current time in cities worldwide, or convert a chosen time across time zones.
  • DAMeeting time plannerCompare a proposed meeting time across several world time zones.
  • DAUnix timestamp converterConvert Unix seconds or milliseconds to a readable date and back again.
Other Date & time tools
  • Date difference calculator
  • Date add subtract calculator
  • Business days calculator
  • Age calculator
  • Countdown timer
All 8 Date & time tools
EN
ENEnglishESEspañolFRFrançais
Guide · Developer tools

How to encode and decode Base64 (and Base64URL)

Debugging a token, preparing a payload, or escaping a value for a query string — Base64 shows up everywhere, and so do its URL-safe and percent-encoded cousins. Paste the text, pick the alphabet, and get the result you can paste right back.

Open the free base64 & url encoder →Free · no signup · no watermarks

Step by step

01

Open the Base64 and URL encoder

Start the free tool — conversion happens entirely on your device.

02

Paste your text

Enter the plain UTF-8 text to encode, or the encoded value to decode — café becomes Y2Fmw6k= and back again exactly.

03

Choose the alphabet

Pick standard Base64, unpadded Base64URL (- and _ instead of + and /), or URL-component percent-encoding.

04

Convert

Decoding is strict about UTF-8, so a malformed or binary-only value is rejected instead of producing mojibake.

05

Move the result back for a round trip

Send a completed result back into the input with one action to verify that encode-then-decode returns your original text.

Tips that save a second try

↳
Tip 01

Base64URL is the right alphabet inside URLs and filenames: it swaps + and / for - and _, and this tool omits the trailing = padding when encoding (and restores it when decoding).

↳
Tip 02

URL mode encodes one component with encodeURIComponent() — it does not build or validate a complete URL.

↳
Tip 03

Encoding is not encryption: anyone who recognizes Base64 can reverse it, so never use it to protect a password or secret.

Common questions

What is different about Base64URL output?

It uses - and _ instead of + and /, and this tool omits trailing = padding. Those changes make the alphabet safe inside URL and filename contexts.

Can I use Base64 to protect a password or secret?

No. Base64 is a reversible representation, not encryption or hashing. Use an appropriate security mechanism for secrets.

Ready to do it? Base64 & URL encoder → · More developer tools · All guides

$TinyFreeTools

Useful little tools that do the job and respect your files.

Private by design

Toolbox

ImagesPDFQRColorDeveloperTextConvertDate & time

About

About the projectSupportGuidesPrivacyTermsContact
© 2026 TinyFreeToolsYour files stay private — and the tools stay free.