Made on Earth Donate

Paste notepad & converter

A blank page for text you need for a minute: paste a table, a paragraph or a screenshot with its formatting, or strip it to plain text, park a number while you switch tabs, draft a message. Tab types a tab, the browser tab takes your first words as its title, and the page asks before you leave with text in it. Show as renders HTML beside the note, and turns JSON, YAML, CSV, XML or PHP data into any of the others.

Ctrl+Shift+V pastes without formatting. Closing or reloading the tab clears the notepad. Shift+Tab removes a tab; Esc then Tab leaves the box.

Keep the formatting?

What you’re pasting brings its formatting: fonts, colours, links, layout. Keep it, or paste just the text.

Ctrl+Shift+V pastes plain text without asking.

What this notepad is for

Most text you handle in a day only needs to exist for a minute: a phone number read out on a call, a paragraph you’re moving from a PDF into an email, an address to retype into a form, a snippet of HTML you want to see rendered, an API reply you need as YAML. This page is a blank sheet for exactly that. Open it, type or paste, use the text, close the tab.

Paste part of a web page, an email or a Word document and its bold, colours, links, tables and pictures come with it, screenshots included. Want only the characters? Paste with Ctrl+Shift+V, or press Remove formatting to turn the whole note into plain text: the old “paste it into Notepad first” trick without leaving the browser. Tab types a tab instead of jumping to the next control, the browser tab is named after the first words you typed so you can find it among thirty others, and closing the tab with text in it brings up the browser’s “Leave site?” question first.

Why use this notepad

Keeps formatting, or strips it

Paste from a web page, an email or Word with its fonts, colours, tables and pictures, screenshots included, or press Ctrl+Shift+V or Remove formatting to keep only the characters.

HTML and data panes

Show as HTML renders what you typed as a web page, scripts off. JSON, YAML, CSV, XML or PHP data gets a button for every format it converts to.

Tab title follows the text

The browser tab takes your first twenty characters as its title, so a notepad holding a tracking number is easy to find again.

Asks before closing

Close or reload the tab with text in it and the browser asks first, so a stray Ctrl+W doesn’t take your notes with it.

Full window

One button (or ?full=1 in the address) turns the page into a bare editor filling the window; Esc brings the page back.

Download it

A plain note saves as a .txt file, one with formatting or pictures as an .html file with the pictures inside, named after the first line.

How to use it

  1. Type or paste. The cursor is already in the box when the page opens. When what you paste brings formatting (bold, links, colours, a page's layout), a box asks first: Keep formatting, Plain text for the characters alone, or Cancel. Plain text, including text copied from the notepad itself, goes straight in. Ctrl+Shift+V pastes the characters alone without asking. Line numbers run down the left edge, one per line however far it wraps; untick Line numbers to hide them. Word, line and character counts update as you type.
  2. Show it another way, if you like. The Show as buttons open a pane beside the note (below it on a phone) that follows it as you type. HTML renders the note’s text as a web page. Next to it are the data formats; when the text reads as data (JSON, XML, CSV, YAML, a query string or one of PHP’s formats), every format it converts to lights up. Open as many as you like: they sit side by side with the note, in as many Columns as you choose (Auto fits your screen). Click a lit button again to close its pane; the note itself never changes.
  3. Make room. Full window spreads the notepad over the whole browser window and stays on when you reload (the address gains ?full=1); Esc or Exit full window brings the page back. Monospace switches to a fixed-width font, handy for code and lined-up columns, and A− and A+ shrink or enlarge the text, from 10 to 32 pixels; the size between them puts it back to 13. This browser remembers the size, and whether line numbers are off, for your next visit.
  4. Keep it, if you need to. Download saves the note as a file named after its first line: Shopping list Mon.txt while it is plain text, Shopping list Mon.html once it holds formatting, links or pictures (pictures included). The button says which. Each pane has its own download button for its format: .html, .json, .yaml, .csv, .xml, .php or .txt. Otherwise, copy what you need and close the tab.

A few page addresses skip a step and are worth a bookmark: /developer/notepad-converter/?full=1 opens straight into a full-window notepad, ?view=html with the HTML pane open and ?view=json (or yaml, csv, php and the rest) with that data pane open, several at once as ?view=json,yaml; ?cols=2 sets Columns, which the page adds itself when you pick one. They combine: ?view=html,yaml&full=1. None carries any text; the notepad always opens empty.

Formatting, pictures and plain text

The box is an editable page. What you paste keeps the formatting the clipboard offers for it: fonts, sizes, colours, bold and italic, headings, lists, links and tables. Pictures come in three ways:

  • Pictures on web pages stay links to their address, as they are in the page you copied from. They show while that address is online.
  • A copied picture or screenshot (PrtScn, the Snipping Tool, “Copy image” in most apps) is pasted into the text itself, as is an image file dragged into the box.
  • Pictures copied from Word or Outlook are, on the clipboard, links to temporary files on your computer that a web page can’t open. A picture copied on its own pastes fine; one copied together with text shows as a broken picture, so copy it separately.

The box is always a white sheet, in dark mode too, because pasted text often brings its own black or dark-grey colour. A pasted page’s layout is flattened to fit: fixed headers, sticky sidebars and extra-wide blocks flow down the box instead of covering the page.

For plain text, paste with Ctrl+Shift+V (Cmd+Shift+Option+V in Safari), which drops the formatting of that one paste. Remove formatting does it to the whole note at once, pictures included; Ctrl/Cmd+Z brings them back.

Showing your text as HTML

HTML is for markup you have as text: a signature someone sent as code, a block a CMS produced, a snippet you are writing. Type or paste it and press HTML: a pane beside the note renders it, and keeps up as you edit the note. Press HTML again to close the pane.

A plain note can always be shown as HTML. In a formatted note the button is offered only when the text itself has HTML tags in it, such as code copied from a page that highlights it; otherwise it is greyed out, and a note beside it points to Remove formatting, which turns the note into text you can use as markup.

The pane hands the note’s text to a frame as a web page of its own: headings, lists, tables, inline style attributes and <style> blocks all render with the browser’s default look, on a white page, whichever theme this site is in. That makes it quick to check an email signature, a snippet from a CMS, or the markup a tool produced, before you paste it somewhere it matters.

The frame is sandboxed without permission to run scripts, so <script> tags, onclick handlers and forms don’t run: what you see is the markup and CSS alone. Links open in a new tab. Images and stylesheets need full addresses (https://…); relative paths point at this site and won’t find your files.

Partial markup is fine. The browser fills in the missing <html>, <head> and <body> and closes unclosed tags the way it would on any page, so a lone <b>bold shows as bold text.

Showing your text as data

Paste a JSON reply, a YAML config, a CSV export, a query string, a PHP array or the output of var_dump(), print_r() or serialize(), and the buttons next to HTML light up for the formats it converts to: JSON, XML, CSV, YAML, serialize(), PHP array, query string, Symfony’s dump() and var_dump(). Press one and a pane shows the note in that format, with Copy and a download button; press others to open them too, or the same one again to close it. The pane’s first line says what the note was read as.

Only what fits is offered. On an empty page every button works, ready for a paste. After that they light up only while the note reads as data, a list or a set of named values, so prose, a lone number or an empty list leave them all greyed out. A format that can’t hold this data is greyed out too: JSON has no way to write the INF a PHP dump can contain, for example. The note is read from its text, without its formatting, so JSON copied from a page that colours it gets its buttons too.

The reading and converting is the JSON / CSV / PHP Converter’s, with its defaults: the format is detected, and the PHP formats and dump() show objects as arrays. For a different choice, such as reading CSV as something else or keeping objects, use the converter. To do this, the notepad sends the note’s text to this site’s server as it changes, after a short pause; notes over 512 KB aren’t sent and leave the data buttons greyed out.

Keys and counts

  • Tab types a tab character, two spaces wide, as in a code editor. Shift+Tab takes one tab (or two spaces) off the start of the line. Esc then Tab moves on to the next control and Esc then Shift+Tab back to the previous one, so the keyboard is never trapped in the box.
  • Ctrl/Cmd+Z undoes typed tabs along with everything else.
  • Words are runs of characters between spaces, tabs and line breaks, so e-mail is one word and 3 × 4 is three.
  • Characters count every letter, digit, space and line break once. Some emoji are built from several characters and count as two or more: 👍🏽 is two.
  • Lines are counted the way an editor numbers them: a line break at the very end starts an empty last line.

Who it’s for

Anyone who needs text for a minute without opening an app.

For developers

Park a stack trace, an ID or a SQL query between windows, check how a snippet of HTML renders, or turn a JSON reply into YAML or a PHP array without leaving the note.

For email and office work

Clean text pasted from a PDF or web page before it goes into an email, and preview HTML signatures and newsletter blocks.

On calls

Take down a booking reference, a name or a number while someone reads it out, with the tab titled after it so it’s easy to find afterwards.

For writers and students

Draft a post or an answer with a live word and character count, then download it or paste it where it has a limit.

Limits

  • The notepad keeps nothing between visits. Closing or reloading the tab clears it, which is why the page asks first. Download what you want to keep.
  • One note per tab. For two notes, open the page in two tabs; each tab’s title shows its own first words.
  • Formatting depends on what the copying program puts on the clipboard. Some apps offer only plain text, and page layouts (columns, floating pictures, fixed headers, backgrounds) don’t survive: what you paste flows down the box.
  • Pasted pictures sit in the text as data, so a note with a few large screenshots makes a large .html file.
  • The HTML and data panes read the note’s text, not its formatting, so they can’t show the markup of what you pasted.
  • Data panes need this site’s server, which gets the note’s text as you type; a note over 512 KB isn’t sent.
  • Counts read the text you see: pictures don’t count, and a gap between paragraphs counts as an empty line.
  • The HTML pane runs no JavaScript, so pages that build themselves with scripts show only what their markup holds.
  • Without JavaScript there is only the plain text box: it takes text, and Download .txt works by sending the text to the page and getting it back as a file. Formatting, the HTML and data panes, the counts, the tab title and full window need JavaScript.

How this site handles requests is in the privacy policy.

Frequently asked questions

How do I remove formatting from copied text?

Paste it into the notepad with Ctrl+Shift+V (Cmd+Shift+Option+V in Safari), or paste normally and press Remove formatting, then copy it out again. Fonts, colours, links and table layout are dropped and only the characters stay. The same shortcut works in many other apps, Chrome, Edge and Google Docs among them.

Can I paste pictures and screenshots?

Yes. A screenshot or copied picture is pasted into the text, pictures on copied web pages stay links to their address, and you can drag image files into the box. Download then saves an .html file with the pictures inside it.

Is my text saved if I close the tab?

No. The notepad keeps nothing between visits: closing or reloading the tab clears it. That’s why the browser asks before you leave with text in the box. Use Download to keep a copy.

How do I see HTML code rendered?

Type or paste it and press HTML under Show as. A pane beside the note shows it as a web page and updates as you type; press HTML again to close it. Scripts don’t run in it, and images need full https:// addresses.

Can I convert JSON to YAML, CSV or a PHP array here?

Yes. Paste the data and the buttons next to HTML light up for every format it converts to: JSON, XML, CSV, YAML, serialize(), PHP array, query string, dump() and var_dump(). A format that can’t hold the data is greyed out. Each pane has Copy and a download button, and you can open several side by side.

Why doesn’t my JavaScript run in the HTML view?

The preview frame is sandboxed without permission to run scripts, so pasted code can’t act on this page or your browser. It shows what the HTML and CSS alone produce.

How do I type a tab instead of moving to the next field?

In this notepad Tab types a tab, and Shift+Tab removes one from the start of the line. To move on with the keyboard, press Esc then Tab, or Esc then Shift+Tab to go back.

How are words and characters counted?

A word is anything between spaces, tabs or line breaks. Characters count every letter, digit, space and line break; some emoji count as two or more because they are built from several characters.

Can I open the notepad full screen?

Press Full window, or bookmark /developer/notepad-converter/?full=1 to open it that way. For true full screen without the browser’s bars, press F11 (Windows, Linux) or Ctrl+Cmd+F (Mac) as well.

What is the downloaded file called?

It’s named after the first line with letters or digits in it (HTML tags left out), keeping letters, digits, spaces, hyphens and underscores, up to 40 characters, plus .txt while the note is plain text, .html once it has formatting or pictures and each pane’s own download takes its format’s extension (.json, .yaml, …) after the same name. A notepad with no such line downloads as notepad.txt or notepad.html.

Read the full story: Why pasted text drags its formatting along, and why a blank notepad tab still beats it (15 min read)

More developer tools

  • JSON / CSV / PHP Converter: Convert between JSON, XML, CSV, YAML, query strings and PHP arrays, var_dump(), print_r() and serialize() in any direction.
  • What’s My IP, VPN Check & Browser Info: What every website learns about you: your IP address, whether you look like you’re on a VPN, proxy or Tor and whether your real IP leaks past it, plus your browser, system, screen, language, time zone and headers.
  • Time-Saving Chrome Extensions: Free Chrome extensions that turn daily chores into one click: clear out every duplicate tab, turn bare Apache and nginx directory listings into a file browser you drive from the keyboard, and start a Google Meet with its link already copied.
  • Cron Expression Explainer & Next Run Times: Turn a crontab line into plain English and list its next runs in the server’s time zone and yours, with the runs daylight saving skips or doubles flagged.
  • Text & Code Diff Checker: Compare Two or More Texts: Compare two versions of text or source code, or as many as ten with each other.