AnyNotepad Free Online Text Tools

Input
Output
0
Characters
0
Words
0
Sentences
0
Paragraphs
0
Lines
0
Tokens
0 min
Read Time
0 min
Speak Time
HTML & Code

Explore all 218+ free online text tools

All Text Tools

Daily Design Inspiration

Fresh perspectives from the world of design, updated every day

Featured Design of the Day presenting a recognized work and its creative context

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 showcasing their collaborative process and recognized projects

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 portrait presenting today's featured A' Design Award laureate

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 retrospective tracing a lifetime of contributions to design

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 featuring an in-depth conversation with a recognized designer

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 featuring a notable moment from the design community

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 presenting a conceptual work exploring new directions in design

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 spotlight on a distinctive approach to identity and design philosophy

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 visualization of emerging patterns and directions across design disciplines

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 Trend

</>

Remove 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.

Before
<h1>Hello</h1><p>This is <strong>bold</strong> text.</p>
After
Hello This is bold text.
Also known as: Strip HTML, HTML to Text, Remove Tags, Clean HTML, Strip Markup, HTML Tag Remover, Extract Text from HTML
&lt;

Escape HTML

Converts HTML special characters to their safe entity equivalents: < becomes &lt;, > becomes &gt;, & becomes &amp;, and quotes become &quot;. Essential for displaying code snippets in HTML, preventing XSS attacks, and safely embedding user input in web pages.

Before
<script>alert("XSS")</script>
After
&lt;script&gt;alert(&quot;XSS&quot;)&lt;/script&gt;
Also known as: HTML Encode, Encode HTML Entities, Sanitize HTML, HTML Special Characters, XSS Escape, HTML Safe, Encode Angle Brackets
<←

Unescape HTML

Converts HTML entities back to their original characters: &lt; becomes <, &gt; becomes >, &amp; 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.

Before
&lt;h1&gt;Hello &amp; Welcome&lt;/h1&gt;
After
<h1>Hello & Welcome</h1>
Also known as: Decode HTML Entities, HTML Decode, Restore HTML, HTML Entity Unescape, Reverse Escape, HTML Character Decode
CSS✕

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.

Before
<p style="color:red; font-size:14px;">Hello World</p>
After
<p>Hello World</p>
Also known as: Remove CSS, Remove Styles, Strip Inline Styles, Remove Style Attributes, Clean CSS from HTML, Remove Formatting, CSS Stripper
MD✕

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.

Before
# Hello **World**

This is a [link](https://example.com) and `inline code`.
After
Hello World

This is a link and inline code.
Also known as: Strip Markdown, Markdown to Plain Text, MD to Text, Remove MD Formatting, Clean Markdown, Markdown Stripper, Unformat Markdown
//✕

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.

Before
var x = 5; // set x
/* This is
a comment */
var y = 10;
After
var x = 5;
var y = 10;
Also known as: Strip Comments, Delete Comments, Clean Code Comments, Remove Code Annotations, Comment Stripper, Uncomment Code, Code Cleaner
{}

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.

Before
{"name":"Alice","age":30,"city":"Paris"}
After
{
  "name": "Alice",
  "age": 30,
  "city": "Paris"
}
Also known as: JSON Pretty Print, JSON Beautifier, Format JSON, JSON Lint, JSON Validator, JSON Indent, JSON Viewer, Pretty JSON
{…}

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.

Before
{
  "name": "Alice",
  "age": 30,
  "city": "Paris"
}
After
{"name":"Alice","age":30,"city":"Paris"}
Also known as: JSON Compress, Compact JSON, Minimize JSON, JSON Uglify, JSON Shrink, Remove JSON Whitespace, JSON One-Liner
CSV→{}

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.

Before
name,age,city
Alice,30,Paris
Bob,25,London
After
[
  {"name":"Alice","age":"30","city":"Paris"},
  {"name":"Bob","age":"25","city":"London"}
]
Also known as: CSV to JSON Array, Spreadsheet to JSON, Parse CSV, CSV Converter, CSV to JavaScript Object, Tabular to JSON, CSV Parser
{}→CSV

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.

Before
[{"name":"Alice","age":30},{"name":"Bob","age":25}]
After
name,age
Alice,30
Bob,25
Also known as: JSON to Spreadsheet, Export JSON as CSV, Flatten JSON, JSON Converter, JSON to Tabular, JSON to Excel, JSON Array to CSV
|MD|

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.

Before
name,age,city
Alice,30,Paris
Bob,25,London
After
| name | age | city |
| ----- | --- | ------ |
| Alice | 30 | Paris |
| Bob | 25 | London |
Also known as: CSV to MD Table, Data to Markdown, Table Generator, Markdown Table Maker, GitHub Table, CSV to Pipe Table, Spreadsheet to Markdown
[ ]

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.

Before
apple
42
true
banana
null
After
["apple", 42, true, "banana", null]
Also known as: List to JSON, Text to JSON Array, Values to JSON, Lines to Array, Newline to JSON, Convert List to JSON, Text List to JSON
//

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.

Before
$name = "World"; // user name
/* Say hello */
echo "Hello $name"; # output
After
$name = "World";

echo "Hello $name";
Also known as: Strip PHP Comments, Delete PHP Comments, PHP Comment Remover, Clean PHP Code, Remove Code Annotations PHP, PHP Source Cleaner, Uncomment PHP
# ✕

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.

Before
"""Module docstring"""
name = "World" # user name
# Print greeting
print(f"Hello {name}")
After
name = "World"

print(f"Hello {name}")
Also known as: Strip Python Comments, Delete Python Comments, Python Comment Remover, Remove Docstrings, Clean Python Code, Python Source Cleaner, Remove Hash Comments Python
<!--

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.

Before
<div>
<!-- Navigation section -->
<nav>Menu</nav>
<!-- TODO: fix later -->
</div>
After
<div>
<nav>Menu</nav>
</div>
Also known as: Strip HTML Comments, Delete HTML Comments, HTML Comment Remover, Remove Markup Comments, Clean HTML Source, Remove Developer Notes HTML, Strip Comment Tags
JS\

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.

Before
He said "it's done"
on two lines.
After
'He said \"it\'s done\"\non two lines.'
Also known as: JS Escape, JavaScript Escape, Escape String JS, JavaScript String Encoder, JS Quote Escape, Escape Quotes JavaScript, JS Literal Escape, Node.js String Escape
Py\

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.

Before
Hello "World"
Second line here
After
"""Hello "World"
Second line here"""
Also known as: Python Escape, Escape String Python, Python String Encoder, Python Quote Escape, Python Literal Escape, Escape Text for Python, Python Triple Quote, Python Multiline String
J\"

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.

Before
Path: C:\Users\"Admin"
Next line
After
"Path: C:\\Users\\\"Admin\"\nNext line"
Also known as: Java Escape, Java String Encoder, Escape String Java, Java Quote Escape, Java Literal Escape, C# String Escape, C++ String Escape, JVM String Escape, Escape Text for Java
.\*

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.

Before
Price is $19.99 (USD) [sale]
After
Price is \$19\.99 \(USD\) \[sale\]
Also known as: Escape Regex, RegExp Escape, Regular Expression Escape, Regex Metacharacter Escape, Regex Literal, Escape Special Characters Regex, Regex Quotemeta, Regex Sanitize
🕓

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.

Input
30 2 * * 1-5
Output
minute: 30 → minute: 30
hour: 2 → hour: 2
day-of-week: 1-5 → Monday through Friday
➡ Runs daily at 02:30, Monday–Friday
Also known as: Cron Expression Explainer, Crontab Translator, Cron to English, Cron Parser, Cron Schedule Decoder, Crontab Decoder, Cron Job Explainer, Cron Expression Reader, Crontab to Human Readable
rwx

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.

Input
755
Output
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
Also known as: Chmod Converter, File Permissions Calculator, Unix Permissions Calculator, Linux Chmod Tool, Permission Octal Converter, rwx Calculator, File Mode Calculator, Permission Decoder, Octal to Symbolic Permissions
.env

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.

Before
database-host=localhost
App Name=My Cool App
# comment
api_key=abc123
After
DATABASE_HOST=localhost
APP_NAME ="My Cool App"
# comment
API_KEY =abc123
Also known as: Env File Formatter, .env Formatter, Environment File Cleaner, Dotenv Formatter, Env Variable Cleaner, Format .env File, Normalize Env File, Env Config Formatter, Docker Env Formatter
{ }

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.

Before
/* Main styles */
.header {
  color: #333;
  margin: 0;
}
After
.header{color:#333;margin:0}
(Saved 42 bytes, 58.3%)
Also known as: CSS Minifier, Compress CSS, CSS Compressor, Minify Stylesheet, CSS Optimizer, Reduce CSS Size, Compact CSS, CSS Uglifier, Shrink CSS, CSS Compression Tool
</>

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.

Before
<!-- Header -->
<div>
  <h1> Hello </h1>
  <p> World </p>
</div>
After
<div><h1> Hello </h1><p> World </p></div>
(Saved 35 bytes, 46.7%)
Also known as: HTML Minifier, Compress HTML, HTML Compressor, Minify Markup, HTML Optimizer, Reduce HTML Size, Compact HTML, HTML Compression Tool, Shrink HTML
<xml>

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.

Before
<root><item><name>Test</name><value>42</value></item></root>
After
<root>
  <item>
    <name>Test</name>
    <value>42</value>
  </item>
</root>
Also known as: XML Pretty Print, XML Beautifier, Format XML, XML Indenter, XML Prettifier, Beautify XML, XML Tidy, XML Pretty Printer, Indent XML, XML Viewer
</> −

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.

Before
<!-- Config -->
<root>
  <item>Hello</item>
  <item>World</item>
</root>
After
<root><item>Hello</item><item>World</item></root>
(Saved 38 bytes, 44.2%)
Also known as: XML Minifier, Compress XML, XML Compressor, Minify XML Code, XML Optimizer, Reduce XML Size, Compact XML, Shrink XML, XML Compression Tool
{}→yml

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.

Input (JSON)
{"name": "John", "age": 30, "hobbies": ["reading", "coding"]}
Output (YAML)
name: John
age: 30
hobbies:
  - reading
  - coding
Also known as: JSON to YML, Convert JSON to YAML, JSON YAML Converter, JSON2YAML, JSON to YAML Transformer, JSON to Kubernetes YAML, JSON to Docker Compose, JSON to Ansible
yml→{}

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.

Input (YAML)
name: John
age: 30
hobbies:
  - reading
  - coding
Output (JSON)
{
  "name": "John",
  "age": 30,
  "hobbies": ["reading", "coding"]
}
Also known as: YML to JSON, Convert YAML to JSON, YAML JSON Converter, YAML2JSON, YAML to JSON Transformer, Parse YAML to JSON, YAML Parser, YML to JSON Online
MD→<>

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.

Input (Markdown)
# Hello
This is **bold** and *italic*.
- Item one
- Item two
Output (HTML)
<h1>Hello</h1>
<p>This is <strong>bold</strong> and <em>italic</em>.</p>
<ul><li>Item one</li><li>Item two</li></ul>
Also known as: MD to HTML, Convert Markdown to HTML, Markdown Converter, Markdown Parser, Markdown Renderer, Markdown to Web, Markdown to Markup, MD2HTML, Markdown HTML Generator
<>→MD

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.

Input (HTML)
<h1>Hello</h1><p>This is <strong>bold</strong> and <a href="https://example.com">a link</a>.</p>
Output (Markdown)
# Hello
This is **bold** and [a link](https://example.com).
Also known as: HTML to MD, Convert HTML to Markdown, HTML Markdown Converter, Reverse Markdown, HTML2MD, HTML to Markdown Transformer, Markup to Markdown, Web to Markdown
SQL

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.

Before
select id, name, email from users where active = 1 and role = 'admin' order by name
After
SELECT id,
    name,
    email
FROM users
WHERE active = 1
    AND role = 'admin'
ORDER BY name
Also known as: SQL Beautifier, SQL Pretty Print, Format SQL Query, SQL Indenter, SQL Prettifier, Beautify SQL, SQL Tidy, SQL Query Formatter, SQL Code Formatter, MySQL Formatter
?&=

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.

Input
https://shop.com/search?q=red+shoes&category=footwear&page=2
Output
q         = red shoes
category  = footwear
page      = 2

+ JSON object
Also known as: URL Query Parser, Query String Decoder, Parse URL Parameters, URL Parameter Extractor, Query String to JSON, URL Params Parser, Decode Query String, GET Parameter Parser, URL Splitter
JWT

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.

Input
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKx...
Output
HEADER: {"alg": "HS256", "typ": "JWT"}
PAYLOAD: {"sub": "1234567890", "name": "John Doe", "iat": 1516239022}
Issued At: 2018-01-18T01:30:22Z
Also known as: JWT Parser, JWT Token Decoder, Decode JWT, JSON Web Token Decoder, JWT Inspector, JWT Viewer, JWT Reader, JWT Debugger, JWT Token Parser, JWT Payload Viewer