이미지와 Base64 간 상호 변환 및 HTML 태그 생성이 가능한 반응형 단일 페이지 웹앱을 구현할 때 유용합니다.
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 문자열 처리, 데스크톱, 태블릿, 모바일 전반에서의 완벽한 사용성을 갖춘 다크 오렌지 색상을 사용해야 합니다.
출처 · prompts.chat · Base64 Promt — 원문은 출처에 게시된 그대로이며, 권리는 원작자에게 있습니다.
Gemini로 프롬프트를 실행해 생성한 화면입니다. 화면 안에서 직접 조작하실 수 있습니다.
이미지를 Base64 및 HTML img 태그로 변환하거나 Base64를 이미지로 복원할 수 있는 다크 테마의 웹 애플리케이션 'TPI 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 “TPI Base64 Studio” in bold, phosphor green color, linking to https://tpi.example.com. The footer must replace any default text with “2026” in bold, phosphor green, linking to https://tpi.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 “TPI Base64 Studio” in bold, phosphor green color, linking to https://tpi.example.com. The footer must replace any default text with “2026” in bold, phosphor green, linking to https://tpi.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를 이미지로 복원할 수 있는 다크 테마의 웹 애플리케이션 'TPI Base64 Studio'를 제작했습니다.
다크 오렌지 버튼 및 포스포 그린 포인트 컬러를 적용했으며, 접속 즉시 샘플 이미지가 자동으로 변환 시연되고 클립보드 복사 및 다운로드 기능이 완벽하게 작동합니다.
원문과 같은 언어로 보완한 프롬프트입니다. 점수는 명확성 · 구체성 · 출력 형식 · 재사용성 기준의 AI 평가입니다.
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.