인코더 (Base64·URL·HTML)

Encoder / Decoder (Base64 · URL · HTML)

입력한 텍스트는 브라우저에서만 처리되며 서버로 전송·저장되지 않습니다.Your text is processed entirely in your browser — never uploaded or stored.

인코더/디코더란?

인코더/디코더는 텍스트를 Base64, URL(퍼센트) 인코딩, HTML 엔티티 형식으로 서로 변환하는 도구입니다. 개발·API 연동, 데이터 URI 생성, 쿼리 문자열 처리, 게시글에 코드 안전 표시 등에 유용합니다. 방식과 방향(인코딩/디코딩)을 고른 뒤 ‘실행’을 누르면 됩니다.

각 방식 설명
  • Base64: 텍스트를 UTF-8 바이트로 바꿔 64개 문자로 표현합니다. 인코딩은 btoa(unescape(encodeURIComponent(str))), 디코딩은 그 역순으로 처리해 한글·이모지도 안전합니다.
  • URL(퍼센트): 공백·한글·특수문자를 %XX 형태로 변환합니다. encodeURIComponent/decodeURIComponent 기준입니다.
  • HTML 엔티티: & < > " ' 다섯 문자를 &amp; &lt; &gt; &quot; &#39;로 바꿉니다. 디코딩은 명명 엔티티와 숫자 엔티티(&#NN;)를 원래 문자로 되돌립니다.
참고: Base64는 암호화가 아닙니다. 누구나 디코딩해 원문을 볼 수 있으므로 비밀 보호 용도로 쓰지 마세요.
개인정보·처리 방식

모든 인코딩·디코딩은 사용자의 브라우저 안에서만 이루어집니다. 입력한 텍스트는 서버로 전송되거나 저장되지 않으며, 결과는 ‘결과 복사’ 버튼으로 클립보드에 담을 수 있습니다.

What is this tool?

The encoder / decoder converts text between Base64, URL (percent) encoding, and HTML entities — handy for API work, data URIs, query strings and safely showing code in posts. Pick a type and direction, then press Run.

What each type does
  • Base64: encodes text as UTF-8 bytes into 64 characters via btoa(unescape(encodeURIComponent(str))), decoding in reverse, so Korean and emoji stay intact.
  • URL (percent): turns spaces and special characters into %XX using encodeURIComponent / decodeURIComponent.
  • HTML entities: converts & < > " ' to named entities; decoding also handles numeric entities like &#39;.
Note: Base64 is not encryption — anyone can decode it, so never use it to protect secrets.
Privacy & processing

Everything runs in your browser. Your text is never uploaded or stored, and you can copy the result to your clipboard.

Base64란 무엇인가요?
Base64는 이미지·파일 등 이진 데이터나 텍스트를 영문 대소문자·숫자·'+'·'/' 64개 문자로만 표현하는 인코딩 방식입니다. 이메일 첨부, 데이터 URI, 토큰 전달 등 텍스트만 전송할 수 있는 환경에서 데이터를 안전하게 실어 보내기 위해 사용합니다. 암호화가 아니므로 누구나 디코딩해 원문을 볼 수 있습니다.
URL 인코딩은 언제 쓰나요?
URL 인코딩(퍼센트 인코딩)은 주소나 쿼리 문자열에 공백·한글·&·? 같은 특수문자를 넣을 때 사용합니다. 예를 들어 공백은 %20, 한글은 %EA... 형태의 UTF-8 바이트로 변환됩니다. 검색어를 URL에 넣거나 파라미터 값을 안전하게 전달할 때 필요합니다.
HTML 엔티티는 무엇인가요?
HTML 엔티티는 <, >, &, " 처럼 HTML에서 특별한 의미를 갖는 문자를 &lt; &gt; &amp; &quot; 같은 코드로 바꿔 화면에 문자 그대로 표시하거나 코드 삽입(XSS)을 막는 방법입니다. 이 도구는 인코딩 시 다섯 문자를 엔티티로 바꾸고, 디코딩 시 명명 엔티티와 숫자 엔티티(&#39; 등)를 원래 문자로 되돌립니다.
한글 등 유니코드도 안전하게 처리되나요?
네. Base64 인코딩은 encodeURIComponent로 문자열을 UTF-8 바이트로 바꾼 뒤 인코딩하고, 디코딩은 그 역순으로 복원하므로 한글·이모지 등 유니코드가 깨지지 않습니다. URL·HTML 처리도 UTF-8 기준으로 동작해 원문과 정확히 왕복(round-trip)됩니다.
입력한 내용이 서버로 전송되나요?
아니요. 모든 인코딩·디코딩은 사용자의 브라우저 안에서만 이루어지며, 입력한 텍스트는 서버로 전송되거나 저장되지 않습니다. 토큰·개인정보가 담긴 문자열도 안심하고 변환할 수 있습니다.
What is Base64?
Base64 represents binary data or text using only 64 characters (letters, digits, '+' and '/'). It is used to carry data safely where only text can be sent — email attachments, data URIs, tokens. It is not encryption, so anyone can decode it back to the original.
When do I use URL encoding?
URL (percent) encoding lets you put spaces, Korean or special characters like & and ? into a URL or query string. A space becomes %20 and Korean becomes UTF-8 bytes such as %EA…. It is needed when passing search terms or parameter values safely.
What are HTML entities?
HTML entities replace characters with special meaning in HTML — <, >, &, " — with codes like &lt; &gt; &amp; &quot; so they display literally or to prevent code injection (XSS). Decoding restores both named and numeric entities (e.g. &#39;).
Is Unicode such as Korean handled safely?
Yes. Base64 encoding first converts the string to UTF-8 bytes with encodeURIComponent, and decoding reverses it, so Korean and emoji are never corrupted. URL and HTML processing also work on UTF-8 and round-trip exactly.
Is my text sent to a server?
No. All encoding and decoding happen in your browser; your text is never uploaded or stored, so you can safely convert tokens or private strings.

안내: 본 도구는 입력한 텍스트를 표준 방식(Base64·퍼센트·HTML 엔티티)으로 변환하는 참고용 도구이며, 모든 처리는 브라우저 안에서만 이루어집니다. Base64는 암호화가 아니므로 비밀 보호 용도로 사용하지 마세요.

Note: This tool converts your text using standard schemes (Base64, percent, HTML entities) for reference, and all processing happens in your browser. Base64 is not encryption — do not use it to protect secrets.