12
Text & Base64 Decode thiab Encode
Conversion, Converter, Encoder, Decoder, Text

Cov dej num tshiab kawgTag nrho: 36,217

encoded ib lus
0 days left
encoded ib lus
0 days left
encoded ib lus
tam sim no xwb
encoded ib lus
tam sim no xwb
encoded ib lus
tam sim no xwb

Browser Shortcut

Luag-n-poob qhov hauv qab no shortcut rau hauv koj lub browser bookmark bar siv cov cuab yeej no hauv ib nias.
Xaiv cov ntawv nyeem
Nyem koj shortcut rau encode / txiav txim
Text & Base64 Decode thiab Encode
Hloov cov ntawv nyeem raws li kev nkag mus rau base64 hom ntawv thiab lwm yam: ib qhov txuas, video lossis duab, txawm tias cov chaw taws teeb URLs lossis koj tus kheej cov ntaub ntawv uploadable. Tom qab ntawd muab cov txiaj ntsig rau koj cov phooj ywg ncaj qha nrog lawv cov lus los ntawm kev sib txuas sib txuas lossis rub mus khaws cia hauv koj qhov chaw ntiag tug.
18-01-2023
Hnub Tim Ntxiv
1y 9m 28d
Lub Sijhawm Ua Haujlwm
Version

Base64 yog ib pab pawg ntawm binary-to-text encoding schemes uas sawv cev rau cov ntaub ntawv binary (tshwj xeeb tshaj yog, ib ntu ntawm 8-ntsis bytes) nyob rau hauv sequences ntawm 24 khoom uas tuaj yeem sawv cev los ntawm plaub 6-ntsis Base64 tus lej.

Feem ntau rau tag nrho cov binary-rau-cov ntawv encoding schemes, Base64 yog tsim los nqa cov ntaub ntawv khaws cia hauv binary hom thoob plaws cov channel uas tsuas txhawb kev txhawb nqa cov ntsiab lus.

Base64 yog tshwj xeeb tshaj yog nyob rau hauv lub Ntiaj Teb Wide Web qhov twg ib qho ntawm nws cov kev siv yog lub peev xwm embed duab cov ntaub ntawv los yog lwm yam binary cuab tam nyob rau hauv cov ntaub ntawv cov cuab tam xws li HTML thiab CSS cov ntaub ntawv.

Nyeem ntxiv ntawm wiki

Ceev faj

Because of browser limitations, your data length could be not over 1950 characters if you would like to use this method directly. Otherwise, please consider using our API.

To encode the text

You may open the browser and load the URL with the parameter like this:

https://tooly.win/text-base64-decode-encode.html?input=your plain text you would like to encode

If you would like to encode content of the external URL, you may open the browser and load URL like this:

https://tooly.win/text-base64-decode-encode.html?input=URL&content=fetch

More parameters for encoding your data:



To decode the encoded text

You may open the browser and load the URL with the parameter like this:

https://tooly.win/text-base64-decode-encode.html?code=your encoded data

If you would like to decode the external URL, you may open the browser and load URL like this:

https://tooly.win/text-base64-decode-encode.html?code=URL

Ceev faj

Cov cuab yeej no tam sim no lees txais txoj kev POST ntawm API nkaus xwb, yog tias koj xav siv txoj kev GET, thov xav siv Kev siv ncaj qha.

Endpoint

https://tooly.win/api/text-base64-decode-encode/

To encode the text

Endpoint: POST https://tooly.win/api/text-base64-decode-encode/
Tsis muaj
input
string

URL / your plain text you would like to encode

content
string

fetch if your input is an URL and you would like to encode its content. Without this parameter, our tool would process your URL as text

safe
boolean

true yog tias koj xav siv Base64URL hom ntawv rau encoding

Teb
status
boolean

true yog tias koj qhov kev thov tsis raug

result
string

qhov tshwm sim ntawm koj qhov kev thov yog tias tsis muaj qhov yuam kev

message
string

cov lus yuam kev yog tias muaj qhov yuam kev


curl
	https://tooly.win/api/text-base64-decode-encode/
	-X POST -H 'Content-Type: application/json'
	--data '{"input":"your plain text you would like to encode"}'

{
	"status": true,
	"result": "eW91ciBwbGFpbiB0ZXh0IHlvdSB3b3VsZCBsaWtlIHRvIGVuY29kZQ==",
	"messsage": "",
}

To decode the encoded text

Endpoint: POST https://tooly.win/api/text-base64-decode-encode/
Tsis muaj
code
string

URL / your encoded data

Teb
status
boolean

true yog tias koj qhov kev thov tsis raug

result
string

qhov tshwm sim ntawm koj qhov kev thov yog tias tsis muaj qhov yuam kev

message
string

cov lus yuam kev yog tias muaj qhov yuam kev


curl
	https://tooly.win/api/text-base64-decode-encode/
	-X POST -H 'Content-Type: application/json'
	--data '{"code":"eW91ciBlbmNvZGVkIGRhdGE="}'

{
	"status": true,
	"result": "your encoded data",
	"messsage": "",
}
LusEncodeTxiav txim siabXav tau
Pythonstring = "Tooly.win"
string_bytes = string.encode("ascii")
base64_bytes = base64.b64encode(string_bytes)
base64.b64decode(string)import base64
JavaBase64.encodeBase64(string)Base64.decodeBase64(string)import org.apache.commons.codec.binary.Base64
C#System.Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(plainTextBytes))System.Text.Encoding.UTF8.GetString(System.Convert.FromBase64String(base64EncodedData))
Visual Basic (VB)System.Convert.ToBase64String(data)System.Convert.FromBase64String(base64encoded)
JavaScriptbtoa(string)atob(string)
SQLSELECT TO_BASE64('string')SELECT FROM_BASE64('string')use mysql
PHPbase64_encode($string)base64_decode($string)
Swiftstring.data(using: .utf8)?.base64EncodedString()String(data: string, encoding: .utf8)
Golang (Go)b64.StdEncoding.EncodeToString([]byte('string'))b64.StdEncoding.DecodeString('string')package main
import b64 "encoding/base64"
Rbase64encode(string)base64decode(string)
RubyBase64.encode64(string)Base64.decode64(string)require "base64"
Rustgeneral_purpose::STANDARD_NO_PAD.encode(string)general_purpose::STANDARD_NO_PAD.decode(string)use base64::{Engine as _, engine::general_purpose};
Perlencode_base64($string)decode_base64($string)use MIME::Base64
Luabase64.encode('string')base64.decode('string')local base64 = require'base64'
KotlinBase64.getEncoder().encodeToString('string'.toByteArray())String(Base64.getDecoder().decode('string'))
Bashecho 'string' | base64echo 'string' | base64 –decode
PowerShell[Convert]::ToBase64String( [System.Text.Encoding]::Unicode.GetBytes($string) )[System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($string)
NodeJSBuffer.from('string').toString('base64')Buffer.from('string').toString('ascii')
CrystalBase64.encode('string')Base64.decode('string')require "base64"
ElixirBase.encode64('string')Base.decode64('string')
Nimencode('string')decode('string')import std/base64
Dart & Flutterbase64.encode(utf8.encode('string'))base64.decode('string')import 'dart:convert'
Install the web app ntawm “Text & Base64 Decode thiab Encode” on your home screen for quicker and easier access. Not Now

Just tap then “Add to Home Screen”

Share