12
Dekodowanie i kodowanie tekstu i Base64
Conversion, Converter, Encoder, Decoder, Text

Najnowsze zadaniaCałkowity: 5,660

około 8 godzin temu
około 2 dni temu
około 2 dni temu

Skrót przeglądarki

Przeciągnij i upuść poniższy skrót na pasek zakładek przeglądarki, aby użyć tego narzędzia jednym kliknięciem.
Wybierz tekst
Kliknij swój skrót, aby kodować / dekodować
Dekodowanie i kodowanie tekstu i Base64
Konwertuj dowolne dane tekstowe do formatu base64 i odwrotnie: łącze, wideo lub obraz, a nawet zdalne adresy URL lub własne pliki do przesłania. Następnie udostępniaj wyniki swoim znajomym bezpośrednio w ich własnych językach, udostępniając linki lub pobierając je do przechowywania w swoim prywatnym miejscu.
18-01-2023
Data dodania
1y 3m 1d
Czas serwowania
Wersja

Base64 to grupa schematów kodowania binarnego na tekst, które reprezentują dane binarne (a dokładniej sekwencję 8-bitowych bajtów) w sekwencjach 24-bitowych, które mogą być reprezentowane przez cztery 6-bitowe cyfry Base64.

Wspólny dla wszystkich schematów kodowania binarnego na tekst, Base64 jest przeznaczony do przenoszenia danych przechowywanych w formatach binarnych w kanałach, które niezawodnie obsługują tylko treść tekstową.

Base64 jest szczególnie rozpowszechniony w sieci World Wide Web, gdzie jednym z jego zastosowań jest możliwość osadzania plików graficznych lub innych zasobów binarnych w zasobach tekstowych, takich jak pliki HTML i CSS.

Przeczytaj więcej na wiki

Ostrożność

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

Ostrożność

To narzędzie obecnie akceptuje metodę POST tylko przez API, jeśli chcesz użyć metody GET, rozważ użycie Bezpośrednie użycie.

Punkt końcowy

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

To encode the text

Punkt końcowy: POST https://tooly.win/api/text-base64-decode-encode/
Parametry
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 jeśli chcesz użyć formatu Base64URL do kodowania

odpowiedź
status
boolean

true jeśli twoja prośba jest w porządku

result
string

wynik twojego żądania, jeśli nie ma błędu

message
string

komunikat o błędzie, jeśli wystąpił jakiś błąd


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

Punkt końcowy: POST https://tooly.win/api/text-base64-decode-encode/
Parametry
code
string

URL / your encoded data

odpowiedź
status
boolean

true jeśli twoja prośba jest w porządku

result
string

wynik twojego żądania, jeśli nie ma błędu

message
string

komunikat o błędzie, jeśli wystąpił jakiś błąd


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": "",
}
JęzykKodowaćRozszyfrowaćWymagać
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 z “Dekodowanie i kodowanie tekstu i Base64” on your home screen for quicker and easier access. Not Now

Just tap then “Add to Home Screen”

Share