AnyNotepad Free Online Text Tools
HTML & Code
Explore all 218+ free online text tools
All Text ToolsDaily Design Inspiration
Fresh perspectives from the world of design, updated every day
Design of the Day
Each morning, a different design steps into view. Explore the materials, references, and creative decisions behind today's featured work.
Discover Today's Design
Design Team of the Day
Design often starts with collaboration. Meet the team whose combined skills produced work recognized by the A' Design Award jury.
Meet the Team
Designer of the Day
Behind every considered design stands a deliberate mind. Explore the portfolio, philosophy, and journey of today's featured A' Design Award laureate.
See Their Vision
Design Legend of the Day
Decades of dedication define a body of work. Explore the lifetime contributions and enduring influence of today's featured designer.
Honor Their Legacy
Design Interview of the Day
Conversations reveal what portfolios cannot. Hear today's featured designer share insights, turning points, and hard-won lessons.
Read the Interview
Highlight of the Day
Moments worth noticing from the design world. From exhibition openings to project launches, follow the events that mark creative progress.
See Today's Highlight
Design Idea of the Day
Every product begins as a thought. Explore today's concept — a vision still finding form, a proposal waiting for the right conditions to take shape.
Explore the Idea
Design Brand of the Day
Behind every product stands an organization with a point of view. Explore the principles and processes that define today's featured brand.
Discover the Brand
Design Trend of the Day
Patterns emerge when you pay attention. Follow today's featured movement — a material, palette, or approach gaining traction across disciplines.
Explore the TrendRemove HTML Tags
Strips all HTML tags from your text, leaving only the visible text content. Removes every tag
including <p>, <div>, <a>, <span>,
and inline styles. Perfect for extracting clean text from web pages, HTML emails, CMS content, and any
source where you need plain text without markup.
<h1>Hello</h1><p>This is <strong>bold</strong> text.</p>
↓
Hello This is bold text.
Escape HTML
Converts HTML special characters to their safe entity equivalents: < becomes
<, > becomes >, & becomes
&, and quotes become ". Essential for displaying code snippets in
HTML, preventing XSS attacks, and safely embedding user input in web pages.
<script>alert("XSS")</script>
↓
<script>alert("XSS")</script>
Unescape HTML
Converts HTML entities back to their original characters: < becomes
<, > becomes >, & becomes
&. The reverse of Escape HTML — use it to restore escaped HTML to working markup,
or to read entity-encoded content in its natural form.
<h1>Hello & Welcome</h1>
↓
<h1>Hello & Welcome</h1>
Strip CSS
Removes all CSS code from your text — including <style> blocks, inline
style="..." attributes, and class/id attributes. Cleans up HTML
copied from web pages or email templates, leaving only the structural markup and text content without
any styling information.
<p style="color:red; font-size:14px;">Hello World</p>
↓
<p>Hello World</p>
Remove Markdown
Strips all Markdown syntax from your text — headings (#), bold (**), italics (*), links ([]()), images, code blocks, blockquotes (>), horizontal rules, and list markers. Leaves clean, readable plain text. Ideal for extracting content from .md files, README documents, or CMS content stored in Markdown format.
# Hello **World**
This is a [link](https://example.com) and `inline code`.
↓
Hello World
This is a link and inline code.
Remove Code Comments
Strips all common code comment formats from your text: single-line comments (//),
multi-line comments (/* ... */), HTML comments (<!-- ... -->), and hash comments
(#). Useful for minifying code, cleaning up config files, or extracting only the functional
lines from source code.
var x = 5; // set x
/* This is
a comment */
var y = 10;
↓
var x = 5;
var y = 10;
JSON Formatter (Pretty Print)
Takes compact or minified JSON and formats it with proper indentation and line breaks for human readability. Each nested level is indented with 2 spaces. Validates JSON syntax and reports errors if the input is malformed. The go-to tool for inspecting API responses, debugging data structures, and reviewing configuration files.
{"name":"Alice","age":30,"city":"Paris"}
↓
{
"name": "Alice",
"age": 30,
"city": "Paris"
}
JSON Minify
Compresses formatted JSON into a single line with no unnecessary whitespace. Removes all indentation, line breaks, and extra spaces while preserving the data structure. Reduces file size for API payloads, configuration storage, and network transmission. The reverse of JSON Formatter.
{
"name": "Alice",
"age": 30,
"city": "Paris"
}
↓
{"name":"Alice","age":30,"city":"Paris"}
CSV to JSON
Converts CSV data into a JSON array of objects. The first row is used as property names (keys), and each subsequent row becomes an object. Handles quoted fields, commas within quotes, and common CSV edge cases. Essential for importing spreadsheet data into web applications, APIs, and JavaScript programs.
name,age,city
Alice,30,Paris
Bob,25,London
↓
[
{"name":"Alice","age":"30","city":"Paris"},
{"name":"Bob","age":"25","city":"London"}
]
JSON to CSV
Converts a JSON array of objects into CSV format. Automatically extracts all property names as the header row and maps each object’s values into corresponding columns. Handles nested values by stringifying them. The reverse of CSV to JSON — perfect for exporting API data to spreadsheets.
[{"name":"Alice","age":30},{"name":"Bob","age":25}]
↓
name,age
Alice,30
Bob,25
CSV to Markdown Table
Converts CSV or TSV data into a formatted Markdown table with properly aligned columns, header separators, and pipe delimiters. The first row becomes the table header. Ready to paste into GitHub READMEs, documentation, Notion, Jira, Confluence, or any Markdown-compatible platform.
name,age,city
Alice,30,Paris
Bob,25,London
↓
| name | age | city |
| ----- | --- | ------ |
| Alice | 30 | Paris |
| Bob | 25 | London |
Lines to JSON Array
Converts a list of values (one per line) into a JSON array with automatic type detection. Numbers become JSON numbers, “true”/“false” become booleans, “null” becomes null, and everything else becomes a quoted string. Empty lines are skipped. Perfect for quickly building JSON arrays from simple lists.
apple
42
true
banana
null
↓
["apple", 42, true, "banana", null]
Remove PHP Comments
Strips all PHP-style comments from your code, including single-line // comments,
hash # comments, and multi-line /* ... */ block comments. Intelligently preserves
URLs containing :// and hex color codes like #ff6600. Perfect for cleaning up
source files before deployment or reducing file size.
$name = "World"; // user name
/* Say hello */
echo "Hello $name"; # output
↓
$name = "World";
echo "Hello $name";
Remove Python Comments
Removes all Python comments from your code, including single-line # comments
and multi-line docstrings ("""...""" and '''...'''). Respects strings containing
hash characters and preserves shebang lines (#!/usr/bin/env python). Ideal for preparing
production code or reducing script size.
"""Module docstring"""
name = "World" # user name
# Print greeting
print(f"Hello {name}")
↓
name = "World"
print(f"Hello {name}")
Remove HTML Comments
Strips all HTML comment blocks (<!-- ... -->) from your markup.
Removes both single-line and multi-line comments, including conditional comments and editor annotations.
Great for cleaning HTML before production, reducing page weight, or removing developer notes from
public-facing code.
<div>
<!-- Navigation section -->
<nav>Menu</nav>
<!-- TODO: fix later -->
</div>
↓
<div>
<nav>Menu</nav>
</div>
JavaScript String Escape
Escapes your text for safe use inside a JavaScript string literal. Converts backslashes,
single quotes, double quotes, newlines, carriage returns, tabs, and null characters into their escaped
equivalents (\\, \', \", \n, \r,
\t, \0). The result is wrapped in single quotes, ready to paste directly into
your JS source code.
He said "it's done"
on two lines.
↓
'He said \"it\'s done\"\non two lines.'
Python String Escape
Escapes your text for safe use inside a Python string literal. For single-line text, escapes
backslashes, quotes, newlines, carriage returns, and tabs, wrapping the result in single quotes. For
multi-line text, automatically uses triple-quoted strings ("""...""") to
preserve line breaks naturally. Ready to paste directly into your Python source code.
Hello "World"
Second line here
↓
"""Hello "World"
Second line here"""
Java String Escape
Escapes your text for safe use inside a Java string literal. Converts backslashes, double quotes,
newlines, carriage returns, and tabs into their Java escape sequences (\\, \",
\n, \r, \t). The result is wrapped in double quotes, ready to paste
into Java, Kotlin, Scala, or any JVM language source file. Also works for C# and C++ string literals.
Path: C:\Users\"Admin"
Next line
↓
"Path: C:\\Users\\\"Admin\"\nNext line"
Regex Escape
Escapes all regular expression metacharacters in your text so it can be used as a
literal search string inside a regex pattern. Prefixes backslashes before . * + ? ^ $ { } ( ) | [ ] \.
Essential when you need to match text that contains special regex characters—like searching for
$price, file.txt, or (optional) literally in a regex engine.
Price is $19.99 (USD) [sale]
↓
Price is \$19\.99 \(USD\) \[sale\]
Crontab Explainer
Translates cron schedule expressions into plain English. Enter any 5-field cron expression
(minute, hour, day-of-month, month, day-of-week) and get a human-readable breakdown of each field, including
ranges, steps, and lists. Also supports shortcuts like @daily, @weekly,
@hourly, and @monthly. Explains the complete schedule in natural language.
30 2 * * 1-5
↓
minute: 30 → minute: 30
hour: 2 → hour: 2
day-of-week: 1-5 → Monday through Friday
➡ Runs daily at 02:30, Monday–Friday
Chmod Calculator
Converts between octal and symbolic Unix file permission formats. Enter an octal value like
755 or a symbolic string like rwxr-xr-x and get both representations, plus a
detailed breakdown of owner, group, and others permissions (read, write, execute). Also generates the
ready-to-use chmod command. Process multiple values at once, one per line.
755
↓
Octal: 755 Symbolic: rwxr-xr-x
Owner: rwx (read, write, execute)
Group: r-x (read, execute)
Others: r-x (read, execute)
Usage: chmod 755 filename
Env Variable Formatter
Cleans up and standardizes environment variable files (.env). Converts all
keys to UPPER_SNAKE_CASE, aligns equals signs for readability, and automatically wraps values
containing spaces, quotes, or special characters in double quotes. Preserves comments and blank lines.
Perfect for tidying up messy .env files in Docker, Laravel, Node.js, or any 12-factor app project.
database-host=localhost
App Name=My Cool App
# comment
api_key=abc123
↓
DATABASE_HOST=localhost
APP_NAME ="My Cool App"
# comment
API_KEY =abc123
CSS Minify
Compresses your CSS code by removing comments, collapsing whitespace, stripping unnecessary spaces around selectors, properties, and values, and removing trailing semicolons before closing braces. Shows a detailed summary with original size, minified size, and bytes saved with percentage. Ideal for optimizing stylesheets for production, reducing page load times, and shrinking CSS file sizes.
/* Main styles */
.header {
color: #333;
margin: 0;
}
↓
.header{color:#333;margin:0}
(Saved 42 bytes, 58.3%)
HTML Minify
Compresses your HTML markup by removing comments, collapsing whitespace between tags, and reducing multiple spaces to single spaces. Shows a detailed summary with original size, minified size, and bytes saved with percentage. Great for reducing HTML payload size, speeding up page delivery, and preparing markup for production deployment.
<!-- Header -->
<div>
<h1> Hello </h1>
<p> World </p>
</div>
↓
<div><h1> Hello </h1><p> World </p></div>
(Saved 35 bytes, 46.7%)
XML Formatter
Pretty-prints XML markup with proper indentation (2 spaces per level). Parses opening tags, closing tags, self-closing tags, processing instructions, and text content, then reconstructs the document with clean, readable nesting. Handles minified or poorly formatted XML. Perfect for debugging API responses, inspecting configuration files, SOAP messages, or any XML data.
<root><item><name>Test</name><value>42</value></item></root>
↓
<root>
<item>
<name>Test</name>
<value>42</value>
</item>
</root>
XML Minify
Compresses your XML markup by removing comments and collapsing all whitespace between tags. Shows a detailed summary with original size, minified size, and bytes saved with percentage. Ideal for reducing XML payload size in API requests, shrinking configuration files, optimizing SOAP messages, or preparing XML data for bandwidth-constrained environments.
<!-- Config -->
<root>
<item>Hello</item>
<item>World</item>
</root>
↓
<root><item>Hello</item><item>World</item></root>
(Saved 38 bytes, 44.2%)
JSON to YAML
Converts JSON data into YAML format. Handles nested objects, arrays, strings (with proper quoting for special characters), numbers, booleans, and null values. Produces clean, indented YAML with 2-space indentation. Perfect for converting API responses into Kubernetes configs, Docker Compose files, Ansible playbooks, GitHub Actions workflows, or any context that prefers YAML over JSON.
{"name": "John", "age": 30, "hobbies": ["reading", "coding"]}
↓
name: John
age: 30
hobbies:
- reading
- coding
YAML to JSON
Converts YAML data into JSON format. Parses key-value pairs, nested maps, lists (with
- items), scalars, booleans, numbers, and null values. Skips comments and document markers
(---, ...). Outputs clean, pretty-printed JSON with 2-space indentation. Ideal
for converting Kubernetes configs, Docker Compose files, or CI/CD pipelines into JSON for APIs or validation.
name: John
age: 30
hobbies:
- reading
- coding
↓
{
"name": "John",
"age": 30,
"hobbies": ["reading", "coding"]
}
Markdown to HTML
Converts Markdown text into HTML markup. Supports headings (#–######),
bold, italic, bold-italic, strikethrough, links, images, code blocks with language classes, inline code,
blockquotes, unordered lists, horizontal rules, and paragraphs. Perfect for previewing Markdown content,
generating HTML for CMS platforms, email newsletters, or static site generators.
# Hello
This is **bold** and *italic*.
- Item one
- Item two
↓
<h1>Hello</h1>
<p>This is <strong>bold</strong> and <em>italic</em>.</p>
<ul><li>Item one</li><li>Item two</li></ul>
HTML to Markdown
Converts HTML markup into clean Markdown text. Transforms headings, bold, italic, strikethrough, links, images, code blocks, inline code, blockquotes, lists, horizontal rules, and line breaks into their Markdown equivalents. Strips remaining HTML tags and decodes entities. Ideal for migrating content from websites to Markdown-based systems like GitHub, Jekyll, Hugo, or Notion.
<h1>Hello</h1><p>This is <strong>bold</strong> and <a href="https://example.com">a link</a>.</p>
↓
# Hello
This is **bold** and [a link](https://example.com).
SQL Formatter
Pretty-prints SQL queries with proper formatting and indentation. Uppercases SQL keywords
(SELECT, FROM, WHERE, JOIN, etc.), places major clauses
on new lines, indents column lists and conditions, and breaks AND/OR onto separate
lines. Supports SELECT, INSERT, UPDATE, DELETE, CREATE, and ALTER statements. Makes complex queries readable
and easy to debug.
select id, name, email from users where active = 1 and role = 'admin' order by name
↓
SELECT id,
name,
email
FROM users
WHERE active = 1
AND role = 'admin'
ORDER BY name
Query String Parser
Parses URL query strings into a clean, readable table of key-value pairs. Accepts a full
URL (e.g., https://example.com/page?key=value&foo=bar) or just the query portion
(?key=value&foo=bar). Automatically URL-decodes all keys and values, converts
+ to spaces, and also outputs the parameters as a JSON object for easy
use in code.
https://shop.com/search?q=red+shoes&category=footwear&page=2
↓
q = red shoes
category = footwear
page = 2
+ JSON object
JWT Decoder
Decodes JSON Web Tokens (JWT) and displays the header, payload, and signature in a readable
format. Automatically parses registered claims like iss (issuer), sub (subject),
exp (expiration), and iat (issued at), converting timestamps to human-readable
dates. Shows whether the token has expired or is still valid. Runs entirely client-side—your
tokens are never sent to any server.
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKx...
↓
HEADER: {"alg": "HS256", "typ": "JWT"}
PAYLOAD: {"sub": "1234567890", "name": "John Doe", "iat": 1516239022}
Issued At: 2018-01-18T01:30:22Z