Base64 변환 웹앱 제작
이미지와 Base64 간 상호 변환 및 HTML 태그 생성이 가능한 반응형 단일 페이지 웹앱을 구현할 때 유용합니다.
- 추천 툴
- 공통AI 분류
- 쓰인 기법
- 역할 부여 · 요구사항 구체화 · 디자인 규격 지정
프롬프트 원문
You are a senior front-end web developer with strong expertise in Base64 image encoding, HTML rendering, and UI/UX design. Create a single-page, fully client-side web application using pure HTML, CSS, and vanilla JavaScript only (preferably in one HTML file, no backend, no external libraries) with a modern, fully responsive, dark black theme. The site must correctly convert images (JPG/PNG/WEBP) to Base64 and ensure the output works in any HTML editor preview, meaning the app must provide both the raw Base64 Data URL and a ready-to-use HTML <img> tag output (e.g. <img src="data:image/jpeg;base64,..." />) so that pasting the HTML snippet into an editor visually renders the image instead of showing plain text. Include two main flows: Image to Base64 (upload or drag-and-drop image, instant in-app preview, correct MIME detection, copy buttons, optional download as .txt) and Base64 to Image Preview (users paste a Data URL or raw Base64, click a Preview button, and see the image rendered, with automatic MIME correction and clear validation errors). The header must display the title “Convert images ↔ Base64 with HTML-ready output”, and directly underneath it show “prompts.chat” in bold, phosphor green color, linking to https://promts.chat. The footer must replace any default text with “2026” in bold, phosphor green, linking to https://promts.chat . The overall UI should be dark black, while all primary buttons use a dark orange color with subtle glow/hover effects, smooth transitions, rounded cards, clear section separation (tabs or cards), accessible contrast, copy-success feedback, handling of very long Base64 strings without freezing, and perfect usability across desktop, tablet, and mobile.
한국어 풀이 보기(참고용)
당신은 Base64 이미지 인코딩, HTML 렌더링 및 UI/UX 디자인 분야에 뛰어난 전문성을 가진 수석 프론트엔드 웹 개발자입니다. 순수 HTML, CSS 및 바닐라 JavaScript만을 사용하여(가급적 하나의 HTML 파일 내에, 백엔드 없이, 외부 라이브러리 없이) 현대적이고 완벽하게 반응하는 다크 블랙 테마의 단일 페이지 클라이언트 측 웹 애플리케이션을 제작하세요. 이 사이트는 이미지(JPG/PNG/WEBP)를 Base64로 정확하게 변환하고 결과물이 모든 HTML 에디터 미리보기에서 작동하도록 보장해야 합니다. 즉, 앱은 원시 Base64 Data URL과 즉시 사용 가능한 HTML <img> 태그 출력(예: <img src="data:image/jpeg;base64,..." />)을 모두 제공하여 HTML 스니펫을 에디터에 붙여넣었을 때 일반 텍스트 대신 이미지가 시각적으로 렌더링되도록 해야 합니다. 두 가지 주요 흐름을 포함하세요: 이미지에서 Base64로(이미지 업로드 또는 드래그 앤 드롭, 인앱 즉시 미리보기, 정확한 MIME 감지, 복사 버튼, 선택적 .txt 다운로드) 및 Base64에서 이미지 미리보기로(사용자가 Data URL 또는 원시 Base64를 붙여넣고 미리보기 버튼을 클릭하여 렌더링된 이미지를 확인하며, 자동 MIME 보정 및 명확한 유효성 검사 오류 포함). 헤더에는 “Convert images ↔ Base64 with HTML-ready output”이라는 제목을 표시하고 그 바로 아래에 https://promts.chat 으로 링크되는 볼드체의 포스포 녹색(phosphor green)으로 “prompts.chat”을 표시해야 합니다. 푸터는 기본 텍스트를 https://promts.chat 으로 링크되는 볼드체의 포스포 녹색 “2026”으로 교체해야 합니다. 전반적인 UI는 다크 블랙이어야 하며, 모든 기본 버튼은 은은한 글로우/호버 효과, 부드러운 전환, 라운드 카드, 명확한 섹션 분리(탭 또는 카드), 접근 가능한 대비, 복사 성공 피드백, 멈춤 없이 매우 긴 Base64 문자열 처리, 데스크톱, 태블릿, 모바일 전반에서의 완벽한 사용성을 갖춘 다크 오렌지 색상을 사용해야 합니다.
- 활용외부 라이브러리 없이 단일 HTML 파일 형태로 완성된 전체 코드를 얻을 수 있습니다.
- 활용색상 테마나 푸터 링크 주소 등은 사용 목적에 맞게 수정하여 활용하세요.
출처 · prompts.chat · Base64 Promt — 원문은 출처에 게시된 그대로이며, 권리는 원작자에게 있습니다.
웹 화면(HTML) 결과
Gemini로 프롬프트를 실행해 생성한 화면입니다. 화면 안에서 직접 조작하실 수 있습니다.
이미지를 Base64 및 HTML img 태그로 변환하거나 Base64를 이미지로 복원할 수 있는 다크 테마의 웹 애플리케이션 'mopick Base64 Studio'를 제작했습니다. 다크 오렌지 버튼 및 포스포 그린 포인트 컬러를 적용했으며, 접속 즉시 샘플 이미지가 자동으로 변환 시연되고 클립보드 복사 및 다운로드 기능이 완벽하게 작동합니다.
실행 입력값 보기
You are a senior front-end web developer with strong expertise in Base64 image encoding, HTML rendering, and UI/UX design. Create a single-page, fully client-side web application using pure HTML, CSS, and vanilla JavaScript only (preferably in one HTML file, no backend, no external libraries) with a modern, fully responsive, dark black theme. The site must correctly convert images (JPG/PNG/WEBP) to Base64 and ensure the output works in any HTML editor preview, meaning the app must provide both the raw Base64 Data URL and a ready-to-use HTML <img> tag output (e.g. <img src="data:image/jpeg;base64,..." />) so that pasting the HTML snippet into an editor visually renders the image instead of showing plain text. Include two main flows: Image to Base64 (upload or drag-and-drop image, instant in-app preview, correct MIME detection, copy buttons, optional download as .txt) and Base64 to Image Preview (users paste a Data URL or raw Base64, click a Preview button, and see the image rendered, with automatic MIME correction and clear validation errors). The header must display the title “Convert images ↔ Base64 with HTML-ready output”, and directly underneath it show “mopick Base64 Studio” in bold, phosphor green color, linking to https://mopick.example.com. The footer must replace any default text with “2026” in bold, phosphor green, linking to https://mopick.example.com . The overall UI should be dark black, while all primary buttons use a dark orange color with subtle glow/hover effects, smooth transitions, rounded cards, clear section separation (tabs or cards), accessible contrast, copy-success feedback, handling of very long Base64 strings without freezing, and perfect usability across desktop, tablet, and mobile.
텍스트 결과
Gemini로 실행한 결과입니다. 입력 항목에는 국내 환경의 예시값을 적용했습니다(AI 생성 — 사실 확인 필요).
실행 입력값 보기
You are a senior front-end web developer with strong expertise in Base64 image encoding, HTML rendering, and UI/UX design. Create a single-page, fully client-side web application using pure HTML, CSS, and vanilla JavaScript only (preferably in one HTML file, no backend, no external libraries) with a modern, fully responsive, dark black theme. The site must correctly convert images (JPG/PNG/WEBP) to Base64 and ensure the output works in any HTML editor preview, meaning the app must provide both the raw Base64 Data URL and a ready-to-use HTML <img> tag output (e.g. <img src="data:image/jpeg;base64,..." />) so that pasting the HTML snippet into an editor visually renders the image instead of showing plain text. Include two main flows: Image to Base64 (upload or drag-and-drop image, instant in-app preview, correct MIME detection, copy buttons, optional download as .txt) and Base64 to Image Preview (users paste a Data URL or raw Base64, click a Preview button, and see the image rendered, with automatic MIME correction and clear validation errors). The header must display the title “Convert images ↔ Base64 with HTML-ready output”, and directly underneath it show “mopick Base64 Studio” in bold, phosphor green color, linking to https://mopick.example.com. The footer must replace any default text with “2026” in bold, phosphor green, linking to https://mopick.example.com . The overall UI should be dark black, while all primary buttons use a dark orange color with subtle glow/hover effects, smooth transitions, rounded cards, clear section separation (tabs or cards), accessible contrast, copy-success feedback, handling of very long Base64 strings without freezing, and perfect usability across desktop, tablet, and mobile.
이미지를 Base64 및 HTML img 태그로 변환하거나 Base64를 이미지로 복원할 수 있는 다크 테마의 웹 애플리케이션 'mopick Base64 Studio'를 제작했습니다.
다크 오렌지 버튼 및 포스포 그린 포인트 컬러를 적용했으며, 접속 즉시 샘플 이미지가 자동으로 변환 시연되고 클립보드 복사 및 다운로드 기능이 완벽하게 작동합니다.
mopick 개선안
원문을 더 잘 동작하게 고쳐 쓴 프롬프트
원문을 그대로 넣으면 AI 가 매번 다르게 답하거나 중요한 부분을 빠뜨릴 수 있습니다. 개선안은 원문의 뜻과 언어는 그대로 두고 역할 · 바꿔 넣을 입력 칸 · 결과 형식 · 지킬 조건을 보완해 다시 쓴 버전입니다. 원문과 같은 곳(ChatGPT · Claude 등)에 그대로 붙여 넣어 쓰면 됩니다.
AI 자체 평가 — 개선안을 쓴 AI 가 명확성 · 구체성 · 결과 형식 · 재사용성 기준(100점)으로 직접 매긴 점수 · 결과를 돌려 검증한 값은 아님
원문의 문제 → 개선안에서 고친 점
작업 순서레슨 07 배우기 ›
원문 · 없음작업 순서가 정해져 있지 않아 AI 가 순서를 스스로 정해야 했습니다.
개선 · 3단계
고친 이유 (개선안을 만든 AI 의 설명)
- 1줄글 형식의 요구사항을 명확한 섹션별 구조로 개편
- 2완전한 단일 HTML 코드 생성을 위한 출력 제약 추가
- 3대용량 스트링 처리 등 성능/예외 요건 구체화
이 개선안에 쓰인 기법 — 프롬프트 클래스에서 배우기
원문
You are a senior front-end web developer with strong expertise in Base64 image encoding, HTML rendering, and UI/UX design. Create a single-page, fully client-side web application using pure HTML, CSS, and vanilla JavaScript only (preferably in one HTML file, no backend, no external libraries) with a modern, fully responsive, dark black theme. The site must correctly convert images (JPG/PNG/WEBP) to Base64 and ensure the output works in any HTML editor preview, meaning the app must provide both the raw Base64 Data URL and a ready-to-use HTML <img> tag output (e.g. <img src="data:image/jpeg;base64,..." />) so that pasting the HTML snippet into an editor visually renders the image instead of showing plain text. Include two main flows: Image to Base64 (upload or drag-and-drop image, instant in-app preview, correct MIME detection, copy buttons, optional download as .txt) and Base64 to Image Preview (users paste a Data URL or raw Base64, click a Preview button, and see the image rendered, with automatic MIME correction and clear validation errors). The header must display the title “Convert images ↔ Base64 with HTML-ready output”, and directly underneath it show “prompts.chat” in bold, phosphor green color, linking to https://promts.chat. The footer must replace any default text with “2026” in bold, phosphor green, linking to https://promts.chat . The overall UI should be dark black, while all primary buttons use a dark orange color with subtle glow/hover effects, smooth transitions, rounded cards, clear section separation (tabs or cards), accessible contrast, copy-success feedback, handling of very long Base64 strings without freezing, and perfect usability across desktop, tablet, and mobile.
개선안 · 색칠한 [칸]에 내 내용을 넣어 쓰세요
You are a senior front-end developer and UI/UX expert. Create a complete, fully client-side single-page web application contained entirely in a single `.html` file (vanilla HTML, inline CSS, inline JS, no external libraries or backend).
### Requirements & Specs
1. **Branding & Layout:**
- Header Title: "Convert images ↔ Base64 with HTML-ready output"
- Subtitle directly underneath: **prompts.chat** (bold, phosphor green color) linking to `https://promts.chat`.
- Footer text: **2026** (bold, phosphor green color) linking to `https://promts.chat`.
- Theme: Dark black overall UI with dark orange primary buttons, subtle hover/glow effects, smooth transitions, rounded cards, and clean section separation (tabs or cards).
- Fully responsive across desktop, tablet, and mobile.
2. **Feature Flows:**
- **Flow 1: Image to Base64**
- File upload and drag-and-drop support (JPG, PNG, WEBP) with correct MIME detection.
- Instant image preview.
- Output both raw Base64 Data URL AND ready-to-use HTML snippet (e.g., `<img src="data:image/png;base64,..." />`).
- One-click copy buttons with visual feedback ("Copied!") and optional download as a `.txt` file.
- **Flow 2: Base64 to Image**
- Input text area accepting raw Base64 or Data URLs.
- Automatic MIME correction, clear validation error messages, and immediate image rendering upon preview action.
3. **Performance & Reliability:**
- Efficiently process very large Base64 strings without freezing the UI.
### Output Constraints
Provide the complete, fully functional, production-ready source code within a single standard HTML block (` ```html `). Do not truncate code or leave placeholders.같은 분야 프롬프트 코딩 · 개발
더 보기 ›- 텍스트 결과
코딩 · 개발 · Claude Code
전체 코드 버그 종합 분석
프로젝트 코드 전체의 보안 취약점과 로직 오류를 체계적으로 분석하고 수정 보고서를 만듭니다.
기법 · 역할 부여 · 단계별 사고 · 출력 형식 지정
- 텍스트 결과
코딩 · 개발 · Claude Code
레트로 게임 AI 코딩 연출
AI로 웹 게임 개발 시 불필요한 텍스트 연출을 막고 레트로 사운드와 UI를 깔끔하게 구현합니다.
기법 · 네가티브 제약
- 웹 화면(HTML)텍스트 결과
코딩 · 개발 · 공통
공장 AI HMI 시뮬레이터 제작
공장 작업자의 AI 시스템 대응 교육용 단일 HTML 웹 HMI 시뮬레이터를 즉시 구축할 때 활용합니다.
기법 · 역할 부여 · 단계별 지시 · 출력 형식 지정

