Skip to content

Kodowanie i Kryptografia

Konwerter Data URL

Bezpłatny konwerter data URL. Zakoduj dowolny plik jako data URL w base64 do osadzenia inline lub zdekoduj data URL z powrotem do pliku. W przeglądarce, bez przesyłania.

Runs in your browser
Encode a file
Data URL

Notka redakcyjna

Understanding · Files, smuggled into a string.

Ten szczegółowy rozdział jest obecnie dostępny tylko w języku angielskim. Narzędzie konwersji powyżej działa w Twoim języku; długi artykuł objaśniający nie został jeszcze przetłumaczony.

Często zadawane pytania

Quick answers.

What is a Data URL?

A Data URL is a scheme used to embed data in-line in documents, formatted as `data:[mediatype][;base64],data`. It is commonly used for small icons or CSS assets to reduce external dependencies.

Are my files secure?

Yes. The encoding and decoding happen entirely within your browser's memory. No file data is sent to our servers or stored permanently.

When should I avoid Data URLs?

Base64 encoding increases file size by approximately 33% compared to binary files. Large files should be kept as separate assets to avoid slowing down page renders and to allow for browser caching.

How do I use the output in CSS?

Copy the generated string and paste it into a `url()` function, such as `background-image: url('data:image/png;base64,...');`. This embeds the image directly within your stylesheet.

Ludzie wyszukują również

Use with

What people reach for next.

Powiązane narzędzia

More in this room.

Zobacz wszystkie w Kodowanie i Kryptografia