Decodificador de Base64 a PDF gratuito
Pega una cadena Base64 o una URL data:application/pdf y conviértela de nuevo en un archivo PDF real que puedes previsualizar y descargar. La decodificación ocurre enteramente en tu navegador: tu documento nunca se sube.
The reverse for images is the Base64 to Image Decoder, and the generic string form is handled by the Base64 to Hex Converter. To work with the document afterwards, the PDF tools in the same directory are the next step.
Cómo usar Base64 a PDF
- 1 Paste the Base64 string, or a complete `data:application/pdf;base64,` URI.
- 2 Press Decode. The tool verifies the result begins with the `%PDF` signature before offering it.
- 3 Check the page count and file size shown once decoding succeeds.
- 4 Download the PDF, or open it in a new tab to read it first.
Cómo usarlo
Pega tu cadena Base64, haz clic en Decodificar y el PDF se abre en el área de vista previa de abajo. Usa el botón Descargar para guardarlo como archivo .pdf.
- Acepta Base64 en bruto o una URL data:application/pdf;base64, completa
- Valida que los bytes decodificados parezcan un PDF real
- Vista previa integrada y descarga con un clic
- Se ejecuta localmente: seguro para documentos sensibles
¿Qué es un PDF Base64?
Base64 codifica datos binarios de archivo como texto ASCII plano para que puedan viajar dentro de JSON, HTML o data URLs. La decodificación invierte esa transformación y restaura los bytes PDF originales.
Preguntas frecuentes
Can I tell from a Base64 string whether it is a PDF?
Yes, reliably. The decoded bytes of every valid PDF begin with the ASCII characters `%PDF-` followed by a version number. Because Base64 maps three bytes onto four characters, that signature always appears at the very start of the encoded string as `JVBERi`. If a string starts with those six characters, it holds a PDF.
The string decodes but the file will not open. What is wrong?
In almost every case the string is incomplete. Base64 strings are frequently truncated when copied out of an email, a log viewer or a terminal that wraps long lines. Compare the length against the original: a valid string's length is always a multiple of four, and a short one means characters were lost from the end.
Is a Base64 PDF safe to email?
It is safe in the sense that it will not be mangled, since Base64 uses only characters that survive being pasted into anything. It is not safe in the sense of protected — anyone holding the string can decode it instantly, so the encoding provides no confidentiality at all. Use real encryption if the document is sensitive.
Herramientas de imagen y color relacionadas
También te puede interesar
Herramientas de otras categorías que suelen combinarse con Base64 a PDF: