Free & open source · 100% offline desktop app

InPage ↔ Unicode Offline Urdu converter for Windows

Convert legacy InPage Urdu text into modern Unicode — and back — without losing a single character. Built for Windows 10 & 11 with a raw Win32 clipboard bypass, bundled Noto Nastaliq Urdu rendering, and zero cloud uploads.

Latest: v1.1.2 40 MB Windows 10 / 11

CP-1252 / .INP \x04\x81\x04\xa0 \x04\x92\x04\xa6 0xA0 (Noon) \x04\xbf\x04\x88 CF_TEXT Raw Legacy InPage ● Offline ctypes Hook Glyph Map ↔ 0 network Python · PyQt5 UTF-8 · RTL ✓ اردو یونی کوڈ آف لائن کنورٹر Noto Nastaliq Unicode Urdu
  • 100+Downloads
  • BidirectionalInPage ↔ Unicode
  • 100% OfflineZero data uploaded
  • Win32 RawPreserves 0xA0 Noon
  • GPL‑3.0Free forever

Decades of Urdu text shouldn't stay trapped in legacy encodings.

For years, InPage was the standard for Urdu books, newspapers, and office documents — long before Unicode became universal. Instead of semantic characters, InPage stores text using a proprietary 2-byte glyph encoding tied to CP-1252. Paste it directly into Microsoft Word or a browser and you get unreadable gibberish.

Online converters come with two serious drawbacks: you have to upload private manuscripts to third-party servers, and Windows' default clipboard translation silently strips critical legacy bytes like the non-breaking space (\xa0, which represents the letter Noon). InPage ↔ Unicode Urdu Converter solves both by running 100% locally on Windows and reading raw CF_TEXT clipboard bytes directly through the Win32 API.

  • Works completely offline — zero network calls
  • Preserves Noon (\xa0) via Win32 ctypes
  • Bundles Noto Nastaliq Urdu font with RTL layout
  • Converts both InPage → Unicode & Unicode → InPage
InPage to Unicode Urdu Converter PyQt5 desktop application window on Windows
Clean desktop interface with direction toggle, raw clipboard paste, formatting controls, and Nastaliq preview.

From legacy InPage to clean Unicode in three steps

A fast, offline-first PyQt5 desktop app packaged as a single standalone Windows installer.

  1. 01

    Capture raw bytes

    Copy text from InPage and click Paste from Clipboard. A native Win32 ctypes hook reads raw CF_TEXT CP-1252 bytes directly, preventing Windows from stripping non-breaking spaces (\xa0).

  2. 02

    Translate contextually

    The mapping engine processes 2-byte isolated, initial, medial, and final glyph forms, resolves Heh-Hamza (ۂ), nested diacritics, Noon-Ghunna, and Bari Yee, and reverses LTR digit runs automatically.

  3. 03

    Render & export

    Converted Urdu renders immediately in Right-to-Left layout using the bundled Noto Nastaliq Urdu font. Copy straight into Word or save directly to a UTF-8 (or CP-1252) .txt file.

Built specifically for accurate Urdu conversion

Engineered around the real quirks of InPage's legacy byte encoding and Windows clipboard handling.

Bidirectional conversion

Switch cleanly between InPage → Unicode and Unicode → InPage using separate, purpose-built contextual mapping tables rather than lossy 1:1 dictionary reversals.

Raw Win32 clipboard bypass

Overrides standard paste behavior with native Windows CF_TEXT byte reads so crucial InPage glyph markers like \xa0 (Noon) are never silently corrupted.

100% offline & private

Zero internet requests, zero analytics, and zero cloud uploads. Safe for unpublished books, legal archives, exam papers, and confidential office documents.

Bundled Noto Nastaliq Urdu

Registers Google's open-source Noto Nastaliq Urdu font dynamically at runtime and switches output to native Right-to-Left (RTL) — no extra system fonts needed.

Smart Urdu orthography

Handles Heh-Hamza (ۂ) round-trips, diacritics (zabar, zer, pesh, shadda) sitting between base letters and Hamza, Bari Yee contextual forms, and Kashida cleanup.

Automatic digit & punctuation fixes

Corrects reversed numeric runs from legacy InPage text and optionally inserts clean spaces after English/Urdu commas (,, ،) and digits (0-9, ۰-۹).

One-click spacing controls

Collapse consecutive double spaces or add extra spacing after every word for custom Urdu typesetting directly from the main window checkboxes.

Encoding-aware file export

Tick Also save to file to export straight to .txt — automatically written in UTF-8 for Unicode output or CP-1252 (latin-1) for legacy InPage workflows.

Fast startup & live validation

Starts in under 1.5 seconds, shows live character counts, prevents empty conversions, and warns if the selected conversion direction doesn't match the pasted text.

Designed for publishers, researchers, and everyday Urdu users

Whether you're migrating a 300-page book or fixing one copied paragraph, it stays out of your way.

Publishers & Typesetters

Digitize legacy InPage books, magazines, and newspaper archives into clean Unicode for web & print.

Bulk-ready

Students & Researchers

Convert old InPage thesis chapters and manuscripts to edit comfortably in Word or Google Docs.

Offline

IT Administrators

Migrate decades of internal office Urdu archives into modern databases and CMS platforms securely.

Zero cloud

Everyday Users

Fix gibberish CP-1252 pasted Urdu text in seconds without hunting for ad-heavy online tools.

Free forever

Built-in formatting toggles & Python API

Every formatting rule is available as a checkbox in the Windows app and as a reusable option in mapping/glyph_map.py.

# Use the conversion engine directly in Python
from mapping.glyph_map import (
    inpage_to_unicode,
    unicode_to_inpage,
)

unicode_text = inpage_to_unicode(
    raw_inpage_bytes,
    remove_double_space=True,
    add_word_space=False,
    add_comma_number_space=True,
)
Conversion formatting options
OptionDirectionWhat it does
remove_double_spaceBothCollapses consecutive multiple spaces into a single clean space.
add_word_spaceBothAppends an extra space after every word for custom Urdu typesetting layouts.
add_comma_number_spaceBothInserts a space after commas (,, ،) and numeric runs (0-9, ۰-۹).
Also save to fileBothExports directly to .txt using UTF-8 (Unicode) or CP-1252 (InPage ANSI).

Install and convert in under two minutes

  1. Download the Windows installer

    Grab the latest InPageUnicodeConverter-Setup-1.1.2.exe from the GitHub releases page. Python, PyQt5, and Noto Nastaliq Urdu are all bundled inside.

  2. Run the setup wizard

    Install to your PC with optional Start Menu and Desktop shortcuts. No extra runtimes or Urdu language packs are needed.

  3. Copy from InPage & click “Paste from Clipboard”

    Select your Urdu text inside InPage, copy it (Ctrl+C), and click Paste from Clipboard inside the converter so the raw Win32 clipboard hook preserves every byte.

  4. Convert, copy, or save

    Choose any spacing checkboxes you want and click Convert. Copy the Nastaliq Unicode output or save it straight to a UTF-8 .txt file.

Getting the cleanest possible conversion

A few details to keep in mind when moving text between legacy InPage and modern Unicode tools.

Missing Noon or broken letters?

Always copy directly from InPage and use the app's Paste from Clipboard button (or paste directly into the input box). Copying through an intermediate editor like Notepad can strip the \xa0 non-breaking space byte before the converter sees it.

Plain-text conversion only

The app converts character content cleanly, but InPage page layout features — bold, italics, font sizes, text boxes, multi-column frames, tables, and embedded images — are not preserved.

Exporting back to InPage

When using Unicode → InPage with Also save to file enabled, the output is automatically saved in legacy CP-1252 (latin-1) ANSI encoding rather than UTF-8 so InPage imports it cleanly.

Non-standard or corrupted maps

Accuracy relies on standard InPage glyph encoding. Files created with customized font maps or heavily corrupted legacy archives may need a quick manual proofread after conversion.

What's new in v1.1.2

  • Comma & number spacing toggle. Automatically inserts a space after English/Urdu commas (,, ،) and numeric runs (0-9, ۰-۹) in both conversion directions.
  • Whitespace formatting controls. Added checkboxes to collapse consecutive double spaces (remove_double_space) and append space after every word (add_word_space).
  • Diacritics inside Hamza combinations. Improved handling when zabar, zer, pesh, or shadda sit between a base letter (Heh or Wao) and a Hamza modifier.
  • Heh-Hamza round-trip & ANSI export fixes. Full Unicode ۂ → InPage mapping and automatic CP-1252 file export for legacy workflows.

Read full release notes

Run from source, test, or package

The core conversion engine (mapping/glyph_map.py) is completely decoupled from the PyQt5 GUI (src/main_window.py), making it easy to inspect, run automated unit & GUI tests, or embed the converter into your own Python scripts.

A PyInstaller spec (InPageConverter.spec) and Inno Setup 6 script (inno_setup.iss) are included for reproducible Windows builds.

Browse the repository

# Clone, create venv, and install dependencies
git clone https://github.com/salmanasmat/InPageToUnicode.git
cd InPageToUnicode
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -r requirements.txt

# Run the desktop app or automated test suite
python src/main.py
python -m unittest discover -s tests

Frequently asked questions

How do I convert InPage Urdu text to Unicode offline?

Install InPage to Unicode Urdu Converter on Windows, copy your text from InPage, click the built-in Paste from Clipboard button in the converter, and click Convert. Your clean Unicode Urdu appears immediately in Noto Nastaliq Urdu, ready to paste into Microsoft Word, Google Docs, or any browser — completely offline.

Why do letters like Noon go missing when I paste from InPage into online converters?

InPage represents certain Urdu glyphs using legacy CP-1252 control and non-breaking space bytes (such as 0xA0 for Noon). Web browsers and standard Windows text boxes normalize or strip these bytes during paste. InPage to Unicode Urdu Converter uses native Windows ctypes calls to read raw CF_TEXT bytes directly from the clipboard before Windows alters them.

Can it convert Unicode Urdu back to InPage?

Yes. Switch the Conversion Direction toggle to Unicode → InPage to generate contextual legacy InPage glyph bytes, including proper Heh-Hamza (ۂ) round-trip support, and optionally export them directly to a CP-1252 (ANSI) text file ready for InPage import.

How do I convert InPage Urdu text to Microsoft Word (or Word to InPage)?

To move text from InPage to Microsoft Word, copy the Urdu text in InPage, click Paste from Clipboard inside InPage to Unicode Urdu Converter, click Convert, and paste the clean Unicode output straight into Word. To go from Word to InPage, switch the toggle to Unicode → InPage, paste your Word Urdu text, convert it, and copy or export as a CP-1252 ANSI file for InPage.

Is InPage to Unicode Urdu Converter free and safe?

Yes. It is 100% free and open source under the GNU GPL v3 license with no ads, trials, or paid tiers. It runs entirely locally with zero internet connections, telemetry, or cloud uploads, so private books, legal documents, and manuscripts never leave your PC. You can inspect the full source code on GitHub.

Does it open .inp files directly or convert formatting and tables?

It is a plain-text converter designed for copy-paste and text file workflows. It does not parse proprietary .inp binary page layouts, multi-column frames, bold/italic styling, tables, or images — it focuses on fast, accurate text conversion.

Do I need Python or Urdu Nastaliq fonts installed?

No. The Windows installer bundles Python, PyQt5, and Google's Noto Nastaliq Urdu font inside a standalone package. It works out of the box on Windows 10 and Windows 11 without extra downloads.

Does it fix reversed numbers and spacing issues in converted Urdu?

Yes. The conversion engine automatically corrects reversed LTR digit runs and offers one-click checkboxes to remove consecutive double spaces, add a space after every word, and insert spaces after commas and numbers. See conversion options.

What file encoding is used when saving converted output?

When converting InPage → Unicode, files are saved in standard UTF-8 encoding. When converting Unicode → InPage, files are automatically written in legacy CP-1252 (latin-1) ANSI encoding so InPage can import them cleanly.

Does it work on macOS or Linux?

The standalone installer and raw Win32 ctypes clipboard hook are built and tested specifically for Windows 10 and Windows 11. Developers can run the Python mapping engine and PyQt5 GUI on other platforms from source, where it falls back to standard clipboard handling.

Convert your Urdu archives offline

Download InPage ↔ Unicode Urdu Converter for Windows — fast, private, and free forever.

Found a mapping edge case or bug? Open an issue on GitHub.