THE SQL Server Blog Spot on the Web

Welcome to - The SQL Server blog spot on the web Sign in | |
in Search

Greg Low (The Bit Bucket: IDisposable)

Ramblings of Greg Low (SQL Server MVP, MCM and Microsoft RD) - SQL Down Under

Entering a backslash when using UK keyboard layout on US keyboard

This is more for my own reference than anything else but today I was needing to enter a backslash key while using a US keyboard but with UK keyboard settings.

After trying pretty much every key on the keyboard in all combinations, I realised there was no key combination that would do this directly. Curiously it's a common problem and I found untold blog and forum entries that were not helpful. They basically said to change your input to US when using a US keyboard.

I figured there is always a way of entering a character by its code and of course this works. If you have a keypad, you can enter <Alt>92 and you'll get a backslash. That's all I needed in this case.

Published Monday, July 14, 2014 7:12 PM by Greg Low

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS



Enrique Madrid said:

The Brits are too polite to backslash over anything :-)

July 14, 2014 10:00 AM

ed (English) said:

The funny is thing is that I recently bought a laptop from eBay and it has a us keyboard so this is really I useful!

I've just been using the us layout but prefer uk!

July 29, 2014 3:12 PM

David from Kenya said:

Thanks a bunch buddy, that was really helpful.

September 19, 2014 7:15 AM

Zacy5000 said:

Or you could use 'Alt Gr + The normal US button for backslash'.

Alt Gr is the one to the right hand side of the space bar and the normal US button for the backslash is next to the enter button and shift key (may slightly differ on different keyboards). This is much easier then using the Alt code.

December 11, 2014 3:40 PM

nish said:

alt gr+ The normal US button for backslash'.not working

December 27, 2014 10:49 PM

good said:

THX alot greg.. very helpful

January 4, 2015 9:50 PM

Zacy5000 said:

you may need to have the US keyboard as a secondary keyboard on the computer.

January 28, 2015 8:33 AM

Ricky said:

@Zacy5000 - this does not work unfortunately.

February 19, 2015 12:26 PM

Ironsfan said:

ALT 92 works perfect, Thanks a bunch mate!

March 8, 2015 1:57 AM

payal said:

atl 92 is not working

April 8, 2015 11:05 PM

Greg Low said:

Are you trying this while in UK settings on a US keyboard?

April 8, 2015 11:18 PM

Darren said:

Try Ctrl + alt + (# or whatever the backslash button on your keyboard is). This works on my asus laptop when I change it to UK layout.

April 15, 2015 1:44 PM

Greg Low said:

That's the point though. On the keyboard I was using, no key did this, with or without other key combinations.

April 15, 2015 5:41 PM

Phil said:

Brilliant - I had IT people struggle with this, until my wife found your post!

Thank you

May 14, 2015 8:36 AM

sid said:

nice working

May 19, 2015 4:09 PM

Sarah said:

I found this post because I have the same problem on my HP Chromebook 11. (It's not Windows, but rather Google Chrome OS, but still the same problem.) That is, I have a UK keyboard layout set but I have a physical US keyboard.

I'm not sure how much, if at all, this applies to Windows, Mac, or Non-ChromeOS linux, but one thing that works for me is to do AltGr+Hyphen for the back-slash. And, although one can make the (previously) allographic equivalent of a vertical line, it's only a broken bar ( ¦ ).

Hope this helps for any Chromebook users out there! ^-^

June 23, 2015 3:17 PM

Keegan said:

Works fine, hold the alt button down and then nine and two on the key pad 9 and 2.

For those of you who said it didn't work, not the 92 above the keyboard.

August 2, 2015 5:42 PM

djpuk said:

As above:

Hold the Alt button down (NOT the AltGr button) and then key nine (9) and two (2) on the NUMERIC key pad...

Note:  the \ symbol only appears when you release the Alt key.  

- These notes have saved me hours!

- Just to show off, I did these \ backslashes following the instructions!

Thanks a lot to All  




Heh heh

August 10, 2015 7:12 AM

Lisl said:

Thanks for this.

My problem came at trying to change domains.  I had changed the Keyboard layout to US on the user which fixed the problem, but when I tried to change users, I needed to type he domain name, and it kept reverting to the UK layout, but on a US Laptop keyboard.

As this keyboard does not have a numeric pad, I used the ALT + FN + 92 (9K) and it worked

August 10, 2015 3:58 PM

Adam said:

I have a laptop that I bought in Singapore but has UK keyboard mapped. To get the backslash (took me a long time to work this out!) you have to press the <ALT> button to the RIGHT of the space bar + backslash button. As neither of the <ALT> buttons on my keyboard are actually labelled <ALT GR> I was of the assumption that they were both the same and of course the one on the left is, for me, the natural one to use so I hadn't been trying it. Hope this helps somebody else.

September 18, 2015 6:41 AM

without success help said:

I have tried all of the above without success. Can anyone help.

October 18, 2015 9:30 AM

IT illiterate said:

Help please.  I am using US keyboard and cannot type forward slash. I have tried all advice without joy.  can anyone help please.

October 18, 2015 9:39 AM

Marion said:

Thanks Darren - that's working perfectly, even when mapping a network drive via File Explorer (where Alt+92 wouldn't work).

October 20, 2015 3:11 AM

Laura said:

Thank you!

ALT + FN + 92 (9K) worked for me. :)

November 4, 2015 11:19 AM

Dave said:

Like several others, nothing seemed to work until ALT +FN+9K.

THANK YOU so much for your help

November 7, 2015 7:19 PM

prachi said:

ALT 92 works perfect :), thanks a lot!

January 3, 2016 11:02 PM

patrick said:

Thanks a lot Alt 92 works on my HP probook

January 13, 2016 4:18 AM

James said:

I have a Lenovo X201 laptop with no backslash key or numeric keypad.

Fn + Numlock (turns on the numeric keypad) then Alt + 92 worked.

January 21, 2016 4:14 AM

derrend said:

'Alt Gr' (right Alt) and '-' (minus sign) did it for me.

January 21, 2016 6:54 PM

Maddog said:

Thanks for the thread everyone. This has been frustrating me for weeks.  On HP US keyboard set to UK, Zacy500)'s 'ALT GR' + '\' works great for me.

February 4, 2016 10:51 AM

Dhivya Nallasamy said:

ALT + 92 works perfect..thanks a lot

February 11, 2016 6:24 AM

keyboard tester said:


On windows 8.1 upwards the ALT combinations don't work. Therefor the US/UK keyboard doesn't work and the backslash doesn't work. I had to use the onboard keyboard.

May 4, 2016 12:11 PM

Janica said:

Finally working, thanks.

Alt + Fn + 9 + k

May 12, 2016 10:39 PM

Dan K said:

My HP Probook works well with Function key 'fn' + hash key '#'

June 18, 2016 2:57 AM

Rich G said:

Thanks Alt+Fn+9k worked on my Vaio.

July 21, 2016 9:03 AM

Leave a Comment


This Blog



No tags have been created or used yet.


Privacy Statement