Decimal to Base64 Converter

Convert a decimal (base-10) integer to its Base64 representation using the standard A-Z a-z 0-9 +/ alphabet.

Decimal Input

Quick examples

Base64 Output

Result will appear here
Copied!

Summary

Convert a decimal (base-10) integer to its Base64 representation using the standard A-Z a-z 0-9 +/ alphabet.

How it works

  1. Enter a non-negative decimal integer in the input field.
  2. The converter converts the number to its minimal big-endian byte representation.
  3. Those bytes are then Base64-encoded using the standard RFC 4648 alphabet.
  4. The encoded string (with = padding) is displayed and ready to copy.
  5. Change the input at any time — the result updates instantly.

Use cases

Frequently Asked Questions

Last updated: 2026-05-23 · Reviewed by Nham Vu