How can we help you?

General

Why do you need to use Freecodetools?

Freecodetools is a collection of code and SEO tools. You can use them to create meta tags, adjust code and more.

Who makes Free Code Tools?

Free Code Tools is built by Marko Denic and has been running since 2019.

Does Free Code Tools work on mobile?

Yes. Every tool works on phones and tablets as well as on desktop.

Which browsers are supported?

Current versions of Chrome, Edge, Firefox and Safari.

Can I use the tools for commercial work?

Yes. Use them for personal and commercial projects. Everything you create with them is yours. Read the terms

Is there a size limit?

The JSON Formatter accepts up to 10 MB and the XML Formatter up to 5 MB. The Hex Converter accepts numbers up to 1,000 digits and text up to 200,000 characters.

How can I suggest a new tool?

Send a message to Marko on X at @denicmarko. Suggestions shape what gets built next. Message @denicmarko

How can I support the project?

Share it with your friends and colleagues.

Tools

Can I check the number of words in text?

Yes. Use the Word Counter. You can also check the number of sentences and characters, and estimate page count with the Words to Pages converter. Open Word Counter

Can the Word Counter check social media character limits?

Yes. It shows your character count against the limits for X (Twitter), LinkedIn, Instagram, Pinterest, Reddit titles and Snapchat, and highlights any you go over.

How does Words to Pages estimate the page count?

It assumes about 450 words per page in Arial, 12pt, single-spaced, and adjusts for the font, size and spacing you choose. Real page counts vary with margins and formatting.

How do I format JSON?

Paste it into the JSON Formatter and press Format. You can choose 2 spaces, 4 spaces or tabs, minify it again, and see the line and column of any error. Open JSON Formatter

Will the JSON Formatter change my numbers?

No. It only changes whitespace, so large numbers such as 64-bit IDs, duplicate keys and escape sequences stay exactly as you wrote them.

Can the XML Formatter validate against a schema?

No. It checks that your XML is well-formed, catching mismatched and unclosed tags and similar mistakes, but it does not validate against an XSD or DTD. Open XML Formatter

How do I validate JSON?

Paste it into the JSON Formatter. It checks your JSON as you type and shows either “Valid JSON” or the error with its line and column. Open JSON Formatter

How do I minify JSON?

Paste it into the JSON Formatter and press Minify. All whitespace between values is removed.

How do I convert decimal to hex?

Type the number into the Decimal field of the Hex Converter. The hexadecimal, binary and octal values update as you type, so 255 becomes FF.

How do I convert binary to text?

Paste the binary into the Binary bytes field of the Hex Converter, with 8 digits per byte. Spaces between bytes are optional.

How many characters can a post on X have?

280 for standard accounts. The Word Counter shows your character count against that limit as you type.

How do I add Open Graph tags to my website?

Fill in the Open Graph Generator, copy the result and paste the meta tags into the <head> of your page.

What is the difference between minifying and beautifying code?

Minifying removes whitespace, comments and other characters a computer does not need, making files smaller. Beautifying adds consistent indentation and line breaks so code is easier for people to read.

Which languages can the Code Minifier and Beautifier handle?

HTML, CSS and JavaScript. Open Code Minifier

How do I convert hex to text?

Paste the hex bytes into the Hex Converter’s text section. Spaces and 0x prefixes are fine, and the bytes are decoded as UTF-8, so accents and emoji work. Open Hex Converter

Does the Hex Converter handle negative and very large numbers?

Yes. Add a minus sign for negative numbers. Values can have up to 1,000 digits, far beyond the 64-bit limit of most calculators.

How do I convert px to rem?

Divide the pixel value by the root font size, which is 16px by default: 24px ÷ 16 = 1.5rem. The PX to REM Converter does this for any root size and includes a table of common values. Open PX to REM Converter

Can I convert rem back to pixels?

Yes. Type into the REM field and the pixel value updates, using whatever root font size you set.

Can I download the QR code?

Yes. Click the generated QR code to download it as a PNG image. Open QR Code Generator

Can I change the colors and size of a QR code?

Yes. You can set the size in pixels and pick any foreground and background colors. Keep enough contrast between them so phones can still scan the code.

What are Open Graph tags?

Meta tags that control how a page looks when it is shared on Facebook, LinkedIn, Slack and other platforms: the title, description and preview image. Open Open Graph Generator

Do Twitter Card tags still work on X?

Yes. X still reads twitter: meta tags to build link previews, and falls back to Open Graph tags when they are missing. Open Twitter Card Generator